josephperez3 commented on code in PR #15747:
URL: https://github.com/apache/iceberg/pull/15747#discussion_r2983888999
##########
flink/v1.20/flink/src/main/java/org/apache/iceberg/flink/data/FlinkParquetReaders.java:
##########
@@ -152,8 +152,13 @@ public ParquetValueReader<?> list(
Type elementType = ParquetSchemaUtil.determineListElementType(array);
int elementD = type.getMaxDefinitionLevel(path(elementType.getName())) -
1;
- return new ArrayReader<>(
- repeatedD, repeatedR, ParquetValueReaders.option(elementType,
elementD, elementReader));
+ if (ParquetSchemaUtil.isOldListElementType(array)) {
Review Comment:
Yup that's cleaner thanks. Just pushed a fix.
--
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]