Skip to content

Commit

Permalink
move ORDER BY into aggregate function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate-Wessel committed Jan 6, 2025
1 parent 2010026 commit 3e94dc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SELECT
get_centreline_btwn_intersections._node_start,
get_centreline_btwn_intersections._node_end,
array_agg(routing_centreline_directional.centreline_id ORDER BY path_seq),
st_union(st_linemerge(routing_centreline_directional.geom ORDER BY path_seq)) AS geom
st_union(st_linemerge(routing_centreline_directional.geom) ORDER BY path_seq) AS geom
FROM results
INNER JOIN gis_core.routing_centreline_directional ON edge = id

Expand Down

0 comments on commit 3e94dc3

Please sign in to comment.