pvary commented on code in PR #6049:
URL: https://github.com/apache/iceberg/pull/6049#discussion_r1005293284


##########
flink/v1.15/flink/src/main/java/org/apache/iceberg/flink/FlinkConfParser.java:
##########
@@ -139,7 +139,6 @@ public StringConfParser defaultValue(String value) {
     }
 
     public String parse() {
-      Preconditions.checkArgument(defaultValue != null, "Default value cannot 
be null");

Review Comment:
   The default value for `AVRO_COMPRESSION_LEVEL_DEFAULT`, 
`PARQUET_COMPRESSION_LEVEL_DEFAULT` is `null`, so we do not have default values 
there



##########
flink/v1.15/flink/src/main/java/org/apache/iceberg/flink/FlinkConfParser.java:
##########
@@ -139,7 +139,6 @@ public StringConfParser defaultValue(String value) {
     }
 
     public String parse() {
-      Preconditions.checkArgument(defaultValue != null, "Default value cannot 
be null");

Review Comment:
   Ohh..



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