[ https://issues.apache.org/jira/browse/SPARK-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Wendell resolved SPARK-4258. ------------------------------------ Resolution: Fixed > NPE with new Parquet Filters > ---------------------------- > > Key: SPARK-4258 > URL: https://issues.apache.org/jira/browse/SPARK-4258 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Michael Armbrust > Assignee: Cheng Lian > Priority: Critical > Fix For: 1.2.0 > > > {code} > 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) > {code} > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org