Question: Does filtering on the Hive metadata "$path" column work? #24440
Unanswered
draganrelu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Suppose we have the following parquet files in S3:
And we create a Trino table
resultswith the storage location ats3://history/results/, partitioned bydt.If we do a query that filters both on the partitioning column
dtbut also on the Hive metadata column$path:This query will return the elements from
But would it also read and parse the content of the
bobfiles in that day??
In other words, does query filtering on the
$pathcolumn do "pre-filtering" (skips reading the content of certain files) or "post-filtering" (reads the contents of all files and then filters the results)?Thanks,
Relu
Beta Was this translation helpful? Give feedback.
All reactions