Skip to content
Discussion options

You must be logged in to vote

I had some great help on this issue here: geoparquet/geoparquet-io#95

First, I tried h3 partitioning but I was told that the size of my dataset (few gigabytes) is relatively small and wouldn't really need it.

I got some great advice and, it does seem like there IS in fact predicate pushdown on a query like this. My guess is that ST_MakeEnvelope causes it to implicitly filter against the geometry bbox column which I was not doing above.

SELECT *
FROM read_parquet(
    'gcs://dataset.parquet'
)
WHERE ST_Intersects(
        geom,
        ST_MakeEnvelope(-69.0877, 47.0479, -69.0453, 47.0889)
      );

As such I am closing this since this query completes in under a second even when querying to …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@C-Loftus
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by C-Loftus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants