rambleraptor commented on code in PR #18252:
URL: https://github.com/apache/iceberg/pull/18252#discussion_r4450971009


##########
api/src/main/java/org/apache/iceberg/types/TypeUtil.java:
##########
@@ -753,6 +849,15 @@ public T variant(Types.VariantType variant) {
       throw new UnsupportedOperationException("Unsupported type: variant");
     }
 
+    /**
+     * Handles a file type, by default as the struct of its nested fields.
+     *
+     * <p>Override this to distinguish a file from a struct.
+     */
+    public T file(Types.FileType file, List<T> fieldResults) {

Review Comment:
   I agree with pruning out specific bits. Especially if the inline bytes 
portion is going to be large. 



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