huaxingao commented on code in PR #4831:
URL: https://github.com/apache/iceberg/pull/4831#discussion_r884403981
##########
api/src/main/java/org/apache/iceberg/data/Record.java:
##########
@@ -58,4 +58,22 @@ default Record copy(String field1, Object value1, String
field2, Object value2,
return copy(overwriteValues);
}
+ default Record copy(String field1, Object value1, String field2, Object
value2, String field3, Object value3,
+ String field4, Object value4, String field5, Object
value5, String field6, Object value6,
+ String field7, Object value7, String field8, Object
value8, String field9, Object value9,
+ String field10, Object value10, String field11, Object
value11) {
+ Map<String, Object> overwriteValues = Maps.newHashMapWithExpectedSize(11);
+ overwriteValues.put(field1, value1);
+ overwriteValues.put(field2, value2);
+ overwriteValues.put(field3, value3);
+ overwriteValues.put(field4, value4);
+ overwriteValues.put(field5, value5);
+ overwriteValues.put(field6, value6);
+ overwriteValues.put(field7, value7);
+ overwriteValues.put(field8, value8);
+ overwriteValues.put(field9, value9);
+ overwriteValues.put(field10, value10);
+ overwriteValues.put(field11, value11);
+ return copy(overwriteValues);
Review Comment:
This change is unnecessary. Removed.
--
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]