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



##########
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:
       Maybe putting a comment above the first one to say something like `// 
keep io.compression.codec.zstd.level for backwards compatibility`?




-- 
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]

Reply via email to