thisisnic commented on issue #48671:
URL: https://github.com/apache/arrow/issues/48671#issuecomment-7171119003

   I can reproduce this on pyarrow 26.0.1 with the script above: with the `year 
== 2019` filter, all four `year=` directories are listed, but only the file 
under `year=2019` is opened, and the result is correct.
   
   So the filter is applied after the dataset's files have been discovered: it 
avoids reading files in partitions that don't match, but not listing their 
directories. I've relabelled this as an enhancement, since skipping the listing 
for partitions the filter rules out would be a new optimisation and not a fix 
to existing behaviour.
   


-- 
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]

Reply via email to