Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.17.0
Description
This is a very handy optimization for large datasets with multiple partition fields. For example, given a hive-style directory $base_dir/a=3/ and a filter "a"_ == 2 none of its files or subdirectories need be examined.
After ARROW-8318 FileSystemDataset stores only files so subtree pruning (whose implementation depended on the presence of directories to represent subtrees) was disabled. It should be possible to reintroduce this without reference to directories by examining partition expressions directly and extracting a tree structure from their subexpressions.
Attachments
Issue Links
- is related to
-
ARROW-11781 [Python] Reading small amount of files from a partitioned dataset is unexpectedly slow
- Resolved
- links to