Skip to content

is predicate pushdown supported when using the Gateway with posix backend #684

Closed Answered by benmcclelland
rkunnamp asked this question in Q&A
Discussion options

You must be logged in to vote

I don't have direct experience with duckdb, but according to this https://stackoverflow.com/questions/76696239/predicate-pushdown-in-duckdb-for-a-parquet-file-in-s3 you are correct that it will retrieve specific sections of the objects using range GETs.

The gateway does translate the range headers to only read the requested section of the file using io.NewSectionReader():

rdr := io.NewSectionReader(f, startOffset, length)

So I expect this should be optimized to only read the requested file offsets as requested by duckdb. If this ends up working, it might be worth an article in the wiki on how to setup duckdb to access…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rkunnamp
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@benmcclelland
Comment options

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