aokolnychyi commented on code in PR #5601:
URL: https://github.com/apache/iceberg/pull/5601#discussion_r953082959


##########
core/src/main/java/org/apache/iceberg/BaseMetadataTable.java:
##########
@@ -63,7 +64,8 @@ protected BaseMetadataTable(TableOperations ops, Table table, 
String name) {
   static PartitionSpec transformSpec(Schema metadataTableSchema, PartitionSpec 
spec) {
     PartitionSpec.Builder identitySpecBuilder =
         PartitionSpec.builderFor(metadataTableSchema).checkConflicts(false);
-    spec.fields().forEach(pf -> identitySpecBuilder.add(pf.fieldId(), 
pf.name(), "identity"));
+    spec.fields()

Review Comment:
   nit: using a for loop would allow us to format without splitting the 
statement into multiple lines



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