HonahX commented on code in PR #11947:
URL: https://github.com/apache/iceberg/pull/11947#discussion_r1911280517


##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -949,6 +972,8 @@ private Builder(int formatVersion) {
       this.schemasById = Maps.newHashMap();
       this.specsById = Maps.newHashMap();
       this.sortOrdersById = Maps.newHashMap();
+      this.rowLinageEnabled = false;
+      this.nextRowId = -1L;

Review Comment:
   Theoretically, next-row-id can start from any integer, including negative 
ones. I am thinking may be in the implementation we could make it starts from 0 
to simplify the implementation and make it more intuitive.



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to