anoopj commented on code in PR #16213:
URL: https://github.com/apache/iceberg/pull/16213#discussion_r3189914276


##########
core/src/main/java/org/apache/iceberg/ManifestInfoStruct.java:
##########
@@ -186,15 +204,18 @@ private Object getByPos(int pos) {
       case 8:
         return minSequenceNumber;
       case 9:
-        return dv();
+        return partitions();
       case 10:
+        return dv();
+      case 11:
         return dvCardinality;
       default:
         throw new UnsupportedOperationException("Unknown field ordinal: " + 
pos);
     }
   }
 
   @Override
+  @SuppressWarnings("unchecked")

Review Comment:
   Minor: just add it to case 9?



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