Open ethack opened 1 year ago
@ethack: Thanks for the suggestion and the pointers to all the details. The timing is good because the Dev team may soon be circling back to fill in some of the gaps in our Parquet support, so this may be something they could take care of as part of that effort. I'll let you know more once the team has had a chance to discuss.
Similar to how the
-zng.compress
flag enables compression for the ZNG format, I'd like to request flags that enable and configure the compression for Parquet files.Ideally, the compression algorithm and compression level would be exposed as flags.
pqarrow.NewFileWriter()
is called here withnil
for theprops *parquet.WriterProperties
parameter.Supported codecs are here.
Relevant docs:
My go is pretty rusty, but I'm thinking it could be something like this (untested). And getting values from the cli flags isn't done:
Side note: I guess these shouldn't be used because they are "internal" but seems like they would have been useful otherwise.