Skip to content

Conversation

@petern48
Copy link
Collaborator

Previously, we've been using the Intersects filter for ST_Equals. This PR updates the SpatialFilter to use the Covers predicate for ST_Equals instead, which is more restrictive and should prune more data.

Continues to pass existing integration test that checks that we return the same non-empty result as the equivalent geopandas query.

@petern48
Copy link
Collaborator Author

I noticed this when implementing #217. There will be a merge conflict that I will have to resolve. Doesn't matter to me which one is merged first.

@petern48 petern48 marked this pull request as ready for review October 12, 2025 19:29
@petern48 petern48 requested a review from Kontinuation October 12, 2025 19:29
@paleolimbot paleolimbot changed the title perf(SpatialFilter): Use Covers filter for ST_Equals for more Geoparquet pruning feat(rust/sedona-expr): Use Covers filter for ST_Equals for more Geoparquet pruning Oct 13, 2025
@jiayuasu jiayuasu merged commit f157155 into apache:main Oct 14, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants