parquet-format icon indicating copy to clipboard operation
parquet-format copied to clipboard

support saving meta and data seperately

Open asfimport opened this issue 3 years ago • 0 comments

I often needs to create tens of milliions of small dataframes and save them into parquet files. all these dataframes have the same column and index information. and normally they have the same number of rows(around 300).  

as the data is quite small, the parquet meta information is relatively large and it's quite a big waste of disk space, as the same meta information is repeated tens of millions of times.

concating them into one big parquet file can save disk space, but it's not friendly for parallel processing of each small dataframe. 

 

if I can save one copy of the meta information into one file, and the rest parquet files contains only the data. then the disk space can be saved, and still good for parallel processing.

seems to me this is possible by design, but I couldn't find any API supporting this.

Reporter: lei yu

Note: This issue was originally created as PARQUET-2207. Please see the migration documentation for further details.

asfimport avatar Oct 27 '22 01:10 asfimport