Guosmilesmile commented on PR #15265:
URL: https://github.com/apache/iceberg/pull/15265#issuecomment-3960255201

   > What are our plans for Shredded variants? There are cases when some part 
of the Variant is stored in its own column. See: #13219
   
   In this PR, for the read path, the shredding-related work is implemented in 
the Iceberg Parquet layer. This logic is aligned with the Spark side, so it 
should be supported.
   
   For the write path, we haven’t implemented shredding yet. On the Flink side, 
Variant type support is currently limited to `BinaryVariant`, so what Flink 
writes is only unshredded data. If we want to support shredding, we may need to 
add a new config option, such as `shreddingSchema`, to predefine which fields 
should be shredded, and possibly introduce something like “auto” as well. We’ll 
need to align this with Spark’s logic later.
   
   This is just my own preliminary understanding.


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