nastra commented on code in PR #7867:
URL: https://github.com/apache/iceberg/pull/7867#discussion_r1241078305


##########
core/src/main/java/org/apache/iceberg/catalog/TableCommit.java:
##########
@@ -26,6 +26,12 @@
 import org.apache.iceberg.relocated.com.google.common.base.Preconditions;
 import org.immutables.value.Value;
 
+/**
+ * This represents a commit to be applied for a single table with {@link 
UpdateRequirement}s to be
+ * validated and {@link MetadataUpdate}s that have been applied. The {@link 
UpdateRequirement}s and
+ * {@link MetadataUpdate}s can be derived from table's base and updated {@link 
TableMetadata} when
+ * using {@link TableCommit#create(TableIdentifier, TableMetadata, 
TableMetadata)}.
+ */

Review Comment:
   I've added the Javadoc to make this clearer when using the `create` method



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