You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like a bug for the case where the fastparquet engine is given a list of files, and gather_statistics=False - I'll fix the relpath definition. Thanks for raising this issue @birdsarah!
@martindurant@mrocklin - This issue exposes a slight limitation with the current core-engine implementation. The problem is in this untested block of code, which was (incorrectly) borrowed from the original design.
In the case that gather_statistics=False, we choose not to call pf = ParquetFile(...). However, without scanning the metadata for every file, we cannot populate a list of row-group information to ultimately pass along to read_partition.
It looks like we need to allow the parts output of read_metadata to specify file-path information (rather than a row-group information) in the case that gather_statistics=False. From there, read_partition can just read a specific file, rather than a specific row group.
Activity
birdsarah commentedon Jul 25, 2019
paths is the correct list of all my paths referenced by
's3://' + my_bucket_path + '/*.parquet'birdsarah commentedon Jul 25, 2019
cc @rjzamora
rjzamora commentedon Jul 25, 2019
This looks like a bug for the case where the
fastparquetengine is given a list of files, andgather_statistics=False- I'll fix the relpath definition. Thanks for raising this issue @birdsarah!rjzamora commentedon Jul 25, 2019
@martindurant @mrocklin - This issue exposes a slight limitation with the current core-engine implementation. The problem is in this untested block of code, which was (incorrectly) borrowed from the original design.
In the case that
gather_statistics=False, we choose not to callpf = ParquetFile(...). However, without scanning the metadata for every file, we cannot populate a list of row-group information to ultimately pass along toread_partition.It looks like we need to allow the
partsoutput ofread_metadatato specify file-path information (rather than a row-group information) in the case thatgather_statistics=False. From there,read_partitioncan just read a specific file, rather than a specific row group.birdsarah commentedon Aug 22, 2019
closed by #5157