paleolimbot opened a new pull request, #385:
URL: https://github.com/apache/sedona-db/pull/385
The issue identified by the GDAL filter pushdown issue also affects
GeoParquet reads. The following query wouldn't complete for me before this
change (after this change it completes in ~40s on a debug build).
```python
import sedona.db
sd = sedona.db.connect()
buildings_url = (
"s3://overturemaps-us-west-2/release/2025-11-19.0/theme=buildings/type=building/"
)
target_wkt = (
"POLYGON ((-73.21 44.03, -73.21 43.98, -73.11 43.97, -73.12 44.03,
-73.21 44.03))"
)
sd.read_parquet(
buildings_url,
options={"aws.skip_signature": True, "aws.region": "us-west-2"},
).to_view("buildings")
sd.sql(f"""
SELECT * FROM buildings
WHERE ST_Intersects(geometry, ST_SetSRID(ST_GeomFromText('{target_wkt}'),
4326))
""").count()
#> 2845
```
The changes I tried to mostly isolate to `sedona-expr` since I think this
issue may be fixed upstream in DataFusion (if it hasn't already been).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]