emkornfield commented on code in PR #3396:
URL: https://github.com/apache/parquet-java/pull/3396#discussion_r2836930555
##########
parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java:
##########
@@ -756,6 +771,32 @@ public Builder withSizeStatisticsEnabled(String
columnPath, boolean enabled) {
return this;
}
+ /**
+ * Set the compression codec for the columns not specified by
+ * {@link #withCompressionCodec(String, CompressionCodecName)}.
+ *
+ * @param codecName the compression codec to use by default
+ * @return this builder for method chaining.
+ */
+ public Builder withCompressionCodec(CompressionCodecName codecName) {
Review Comment:
There isn't an existing API to set this? I have to look more closely at the
the convention but would `withDefaultCompressionCodec` make sense?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]