RussellSpitzer commented on pull request #2167:
URL: https://github.com/apache/iceberg/pull/2167#issuecomment-769513559
@rdblue I have an additional issue :/
In SparkParquetReaders we call
```java
ColumnDescriptor desc = type.getColumnDescription(currentPath());
```
Which fails when traversing with
```
Arrived at primitive node, path invalid
org.apache.parquet.io.InvalidRecordException: Arrived at primitive node,
path invalid
at
org.apache.parquet.schema.PrimitiveType.getMaxRepetitionLevel(PrimitiveType.java:665)
at
org.apache.parquet.schema.GroupType.getMaxRepetitionLevel(GroupType.java:294)
at
org.apache.parquet.schema.GroupType.getMaxRepetitionLevel(GroupType.java:294)
at
org.apache.parquet.schema.MessageType.getMaxRepetitionLevel(MessageType.java:77)
at
org.apache.parquet.schema.MessageType.getColumnDescription(MessageType.java:94)
at
org.apache.iceberg.spark.data.SparkParquetReaders$ReadBuilder.primitive(SparkParquetReaders.java:222)
```
I'm not sure what the "Desc" is supposed to be here. There is no issue with
writing the file or reading the file using the generic Parquet.read() file. But
once I use the SparkParquetReader I have the issue.
Do you have any idea's if this can be fixed?
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]