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


##########
parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java:
##########
@@ -192,6 +194,11 @@ public WriteBuilder schema(Schema newSchema) {
       return this;
     }
 
+    public WriteBuilder variantShreddingFunc(BiFunction<Integer, String, Type> 
func) {

Review Comment:
   This is a function passed to schema conversion. Variants (field ID and name) 
are passed to this function to determine the shredded type (`typed_value`). I'm 
using a callback function to avoid exposing a way to set the Parquet schema 
directly here.



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