Open kewang1024 opened 11 months ago
cc @majetideepak
@yiweiHeOSS would be working on it, thanks!
@yiweiHeOSS the scope is to create something like https://github.com/facebookincubator/velox/blob/main/velox/dwio/dwrf/test/WriterTests.cpp for Parquet. Let's start small by creating the test class and testing the compression types. Will need to fix https://github.com/facebookincubator/velox/issues/5865 as well.
The new Writer tests will reside in velox/dwio/parquet/tests/writer/
We need to test all the ParquetWriter Options currently supported. They are listed here: https://github.com/facebookincubator/velox/blob/main/velox/dwio/parquet/writer/Writer.h#L84
compression
and flushPolicyFactory
are the more important options.
We should also confirm that the Presto Parquet options are being honored.
Should be closed by https://github.com/facebookincubator/velox/pull/7332 @czentgr
I suppose one thing missing from this is tests around the flush policy (flushPolicyFactory
). The main test added was around the compression options.
@czentgr can you open a new issue for the missing test?
Created https://github.com/facebookincubator/velox/issues/9496 and https://github.com/facebookincubator/velox/issues/9499 to cover two of the other options as beginner issues that are relevant.
Description
As of now, there is no test on parquet writer