pvary commented on code in PR #3361:
URL: https://github.com/apache/hive/pull/3361#discussion_r897641247
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/vector/ParquetSchemaFieldNameVisitor.java:
##########
@@ -82,7 +82,9 @@ public Type struct(Types.StructType expected, GroupType
struct, List<Type> field
if (!isMessageType) {
GroupType groupType = new GroupType(Type.Repetition.REPEATED,
fieldNames.peek(), types);
- typesById.put(struct.getId().intValue(), groupType);
+ if (struct.getId() != null) {
Review Comment:
How could this happen?
--
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]