Skip to content

Commit

Permalink
Merge pull request #163 from HSLdevcom/AB#40759_failing_import_subquery
Browse files Browse the repository at this point in the history
AB#40759: Discard duplicate values from subquery results
  • Loading branch information
e-halinen authored Jul 23, 2024
2 parents fa18aa4 + f4fcf36 commit 04a8802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup/createGeometry.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SELECT
date_begin,
date_end,
jore.route_mode((
select route
select distinct on (route.route_id) route
from jore.route route
where geometry.route_id = route.route_id
and geometry.direction = route.direction
Expand Down

0 comments on commit 04a8802

Please sign in to comment.