You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/02/10 14:50:31 UTC

[GitHub] [iceberg] zhongyujiang commented on a change in pull request #4075: Parquet: Fix parquet zstd compression level conf

zhongyujiang commented on a change in pull request #4075:
URL: https://github.com/apache/iceberg/pull/4075#discussion_r803754180



##########
File path: parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java
##########
@@ -235,7 +235,7 @@ private WriteBuilder createContextFunc(Function<Map<String, String>, Context> ne
             config.put("compression.brotli.quality", compressionLevel);
             break;
           case ZSTD:
-            config.put("io.compression.codec.zstd.level", compressionLevel);
+            config.put("parquet.compression.codec.zstd.level", compressionLevel);

Review comment:
       Thanks for your review!
   Agreed, both should be put for compatibility with users using older versions of parquet. Will update.
   
   
   




-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org