rdblue commented on a change in pull request #830: Support name mapping resolution for parquet URL: https://github.com/apache/incubator-iceberg/pull/830#discussion_r406847540
########## File path: parquet/src/main/java/org/apache/iceberg/parquet/ParquetDictionaryRowGroupFilter.java ########## @@ -108,11 +118,15 @@ private boolean eval(MessageType fileSchema, BlockMetaData rowGroup, } for (ColumnChunkMetaData meta : rowGroup.getColumns()) { - PrimitiveType colType = fileSchema.getType(meta.getPath().toArray()).asPrimitiveType(); - if (colType.getId() != null) { - int id = colType.getId().intValue(); - isFallback.put(id, ParquetUtil.hasNonDictionaryPages(meta)); - mayContainNulls.put(id, mayContainNull(meta)); + try { + PrimitiveType colType = fileSchema.getType(meta.getPath().toArray()).asPrimitiveType(); + if (colType.getId() != null) { + int id = colType.getId().intValue(); + isFallback.put(id, ParquetUtil.hasNonDictionaryPages(meta)); + mayContainNulls.put(id, mayContainNull(meta)); + } + } catch (org.apache.parquet.io.InvalidRecordException e) { Review comment: Do you have a test case where this is thrown? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org