-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compression codec configurations for HoodieParquetWriter. #604
Add compression codec configurations for HoodieParquetWriter. #604
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look great. Just one nit.
If you can also add modify docs (configurations.md) to add this new param in another PR, it will be awesome
@@ -44,6 +44,9 @@ | |||
public static final String PARQUET_COMPRESSION_RATIO = "hoodie.parquet.compression.ratio"; | |||
// Default compression ratio for parquet | |||
public static final String DEFAULT_STREAM_COMPRESSION_RATIO = String.valueOf(0.1); | |||
public static final String PARQUET_COMPRESSION_CODEC = "hoodie.parquet.compression.codec"; | |||
// Default compression ratio for parquet | |||
public static final String DEFAULT_STREAM_COMPRESSION_CODEC = "gzip"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: consistently name to `DEFAULT_PARQUET_COMPRESSION_CODEC" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change it, thx.
@vinothchandar Where is configurations.md? |
https://hudi.apache.org/contributing.html#website talks about this.. its on the asf-site branch.. under |
896a9c5
to
81766e7
Compare
@vinothchandar Thanks, will add document tomorrow. |
Add compression codec configurations for HoodieParquetWriter
("hoodie.parquet.compression.codec" : "gzip" / "snappy" / "uncompressed" / "lzo")
https://issues.apache.org/jira/browse/HUDI-77