Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1851

ParquetMetadataConveter throws NPE in an Iceberg unit test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.11.0
    • 1.12.0
    • None
    • None

    Description

      When writing data to parquet in an Iceberg unit test, it throws NPE as below

      java.lang.NullPointerExceptionjava.lang.NullPointerException at org.apache.parquet.format.converter.ParquetMetadataConverter.addRowGroup(ParquetMetadataConverter.java:476) at org.apache.parquet.format.converter.ParquetMetadataConverter.toParquetMetadata(ParquetMetadataConverter.java:177) at org.apache.parquet.hadoop.ParquetFileWriter.serializeFooter(ParquetFileWriter.java:914) at org.apache.parquet.hadoop.ParquetFileWriter.end(ParquetFileWriter.java:864) at org.apache.iceberg.parquet.ParquetWriter.close(ParquetWriter.java:206) at org.apache.iceberg.data.TestLocalScan.writeFile(TestLocalScan.java:429)
      

       

      Attachments

        Issue Links

          Activity

            People

              junjie Junjie Chen
              junjie Junjie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: