Skip to content

Commit

Permalink
use intersects for the center
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus89 committed Jul 2, 2024
1 parent 396ac6b commit 7346173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clouds/bigquery/modules/sql/quadbin/QUADBIN_POLYFILL.sql
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ AS ((
UNION ALL
SELECT child
FROM __children_border
WHERE ST_CONTAINS(geog, `@@BQ_DATASET@@.QUADBIN_CENTER`(child))
WHERE ST_INTERSECTS(geog, `@@BQ_DATASET@@.QUADBIN_CENTER`(child))
)
SELECT ARRAY_AGG(child)
FROM __cells
Expand Down

0 comments on commit 7346173

Please sign in to comment.