We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22dd2a5 commit e725cdaCopy full SHA for e725cda
warehouse/models/mart/gtfs_schedule_latest/dim_stops_latest.sql
@@ -29,8 +29,9 @@ current_stops AS (
29
30
31
stops_on_shn AS (
32
- SELECT
33
- current_stops.*
+ SELECT distinct
+ current_stops._gtfs_key
34
+ -- current_stops.* old code, hotfix since we are getting duplicates here
35
FROM buffer_geometry_table, current_stops
36
WHERE ST_DWITHIN(
37
buffer_geometry_table.buffer_geometry,current_stops.pt_geom, 0)
0 commit comments