Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • None

    Description

      Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 21.0 failed 4 times, most recent failure: Lost task 0.3 in stage 21.0 (TID 160, ip-10-0-247-144.us-west-2.compute.internal): java.lang.NullPointerException: 
              parquet.io.api.Binary$ByteArrayBackedBinary.compareTo(Binary.java:206)
              parquet.io.api.Binary$ByteArrayBackedBinary.compareTo(Binary.java:162)
              parquet.filter2.statisticslevel.StatisticsFilter.visit(StatisticsFilter.java:100)
              parquet.filter2.statisticslevel.StatisticsFilter.visit(StatisticsFilter.java:47)
              parquet.filter2.predicate.Operators$Eq.accept(Operators.java:162)
              parquet.filter2.statisticslevel.StatisticsFilter.visit(StatisticsFilter.java:210)
              parquet.filter2.statisticslevel.StatisticsFilter.visit(StatisticsFilter.java:47)
              parquet.filter2.predicate.Operators$Or.accept(Operators.java:302)
              parquet.filter2.statisticslevel.StatisticsFilter.visit(StatisticsFilter.java:201)
              parquet.filter2.statisticslevel.StatisticsFilter.visit(StatisticsFilter.java:47)
              parquet.filter2.predicate.Operators$And.accept(Operators.java:290)
              parquet.filter2.statisticslevel.StatisticsFilter.canDrop(StatisticsFilter.java:52)
              parquet.filter2.compat.RowGroupFilter.visit(RowGroupFilter.java:46)
              parquet.filter2.compat.RowGroupFilter.visit(RowGroupFilter.java:22)
              parquet.filter2.compat.FilterCompat$FilterPredicateCompat.accept(FilterCompat.java:108)
              parquet.filter2.compat.RowGroupFilter.filterRowGroups(RowGroupFilter.java:28)
              parquet.hadoop.ParquetRecordReader.initializeInternalReader(ParquetRecordReader.java:158)
              parquet.hadoop.ParquetRecordReader.initialize(ParquetRecordReader.java:138)
      

      This occurs when reading parquet data encoded with the older version of the library for TPC-DS query 34. Will work on coming up with a smaller reproduction

      Attachments

        Issue Links

          Activity

            People

              eggsby Thomas Omans
              marmbrus Michael Armbrust
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: