iceberg-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [iceberg] hzfanxinxin commented on pull request #1143: fix a unit case to reproduces the NEP problem
Date Tue, 30 Jun 2020 04:18:44 GMT

hzfanxinxin commented on pull request #1143:
URL: https://github.com/apache/iceberg/pull/1143#issuecomment-651521784


   1. Run the tests
   `./gradlew :iceberg-data:clean :iceberg-data:test --tests org.apache.iceberg.data.parquet.TestGenericReadProjection`
   
   2. This fails with output like so:
   
   `> Task :iceberg-data:test
   
   org.apache.iceberg.data.parquet.TestGenericReadProjection > testBasicProjection FAILED
       java.lang.NullPointerException
           at org.apache.iceberg.data.parquet.GenericParquetReaders$ReadBuilder.primitive(GenericParquetReaders.java:234)
           at org.apache.iceberg.data.parquet.GenericParquetReaders$ReadBuilder.primitive(GenericParquetReaders.java:118)
           at org.apache.iceberg.parquet.TypeWithSchemaVisitor.visit(TypeWithSchemaVisitor.java:52)
           at org.apache.iceberg.parquet.TypeWithSchemaVisitor.visitField(TypeWithSchemaVisitor.java:155)
           at org.apache.iceberg.parquet.TypeWithSchemaVisitor.visitFields(TypeWithSchemaVisitor.java:169)
           at org.apache.iceberg.parquet.TypeWithSchemaVisitor.visit(TypeWithSchemaVisitor.java:47)
           at org.apache.iceberg.data.parquet.GenericParquetReaders.buildReader(GenericParquetReaders.java:78)
           at org.apache.iceberg.data.parquet.GenericParquetReaders.buildReader(GenericParquetReaders.java:70)
           at org.apache.iceberg.data.parquet.TestGenericReadProjection.lambda$writeAndRead$0(TestGenericReadProjection.java:48)
           at org.apache.iceberg.parquet.ReadConf.<init>(ReadConf.java:109)
           at org.apache.iceberg.parquet.ParquetReader.init(ParquetReader.java:66)
           at org.apache.iceberg.parquet.ParquetReader.iterator(ParquetReader.java:77)
           at org.apache.iceberg.parquet.ParquetReader.iterator(ParquetReader.java:38)
           at org.apache.iceberg.relocated.com.google.common.collect.Iterables.getOnlyElement(Iterables.java:254)
           at org.apache.iceberg.data.parquet.TestGenericReadProjection.writeAndRead(TestGenericReadProjection.java:51)
   
   14 tests completed, 1 failed`


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Mime
View raw message