aihuaxu commented on code in PR #14588:
URL: https://github.com/apache/iceberg/pull/14588#discussion_r2539265906
##########
parquet/src/main/java/org/apache/iceberg/parquet/RemoveIds.java:
##########
@@ -77,6 +77,16 @@ public Type primitive(PrimitiveType primitive) {
.named(primitive.getName());
}
+ @Override
+ public Type variant(GroupType variant) {
+ Types.GroupBuilder<GroupType> builder =
+
Types.buildGroup(variant.getRepetition()).as(variant.getLogicalTypeAnnotation());
+ for (Type field : variant.getFields()) {
+ builder.addField(field);
Review Comment:
There is no field ID for internal typed_value fields and that is expected
since the whole structure is mapped to one Variant column.
--
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]