rdblue commented on code in PR #11443:
URL: https://github.com/apache/iceberg/pull/11443#discussion_r1826336805


##########
core/src/main/java/org/apache/iceberg/V2Metadata.java:
##########
@@ -448,6 +449,12 @@ public Object get(int pos) {
           return wrapped.equalityFieldIds();
         case 15:
           return wrapped.sortOrderId();
+        case 16:
+          if (wrapped instanceof DeleteFile) {

Review Comment:
   I think I would define `referencedDataFile` on `ContentFile` and have 
`DataFile` always return `null`. That's how we handle `content` in v1/v2. 
`DataFile` returns a constant value.



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