Skip to content

Commit faaba1d

Browse files
rawataaryan9rawataaryan9
authored andcommitted
fixing null value for iceberg table properties
1 parent 237b72d commit faaba1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/apache/iceberg/PropertiesUpdate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class PropertiesUpdate implements UpdateProperties {
5050
@Override
5151
public UpdateProperties set(String key, String value) {
5252
Preconditions.checkNotNull(key, "Key cannot be null");
53-
Preconditions.checkNotNull(key, "Value cannot be null");
53+
Preconditions.checkNotNull(value, "Value cannot be null");
5454
Preconditions.checkArgument(!removals.contains(key),
5555
"Cannot remove and update the same key: %s", key);
5656

0 commit comments

Comments
 (0)