ayushtkn commented on PR #6369:
URL: https://github.com/apache/iceberg/pull/6369#issuecomment-1341587366

   Thanx folks, Just thinking about the sequentialId check, why it needs to 
rely on the start id, Does changing that check like that help
   ```
     static boolean hasSequentialIds(PartitionSpec spec) {
       for (int i = 1; i < spec.fields.length; i += 1) {
         if (spec.fields[i].fieldId() != spec.fields[i - 1].fieldId() + 1) {
           return false;
         }
       }
       return true;
     }
   ```


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