Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6105

SYSTEM ERROR: NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 1.12.0
    • 1.20.0
    • Execution - Flow
    • None

    Description

      We just upgraded drill from 1.8.0 to 1.12.0

      One of the issue which left us behind was whenever we upgraded Drill we were hit will null pointer exception in scenario which we could not spend time debugging. Then we rolled back to 1.8.0

      This time we have spent some time and understood the problem

       

      data set: 3 million records

      5 columns, 2 of which are date columns (Let us call these date columns as A and B)

      In column B majority of the values are nulls (roughly 99.5%)

      our query is select * from table where A = B

      above query fails with null pointer exception where the number of underlying parquet files are more than 1. If I merge the underlying parquet files into a single large file then we do not see this issue. 

      We also were able to remove the error if we changed the where clause with coalesce(A,null) = coalesce(B,null)

      This somehow points us that the error is coming while reading the parquet files with the given data types.

       

      Attachments

        Issue Links

          Activity

            People

              dzamo James Turton
              nitinpawar432 Nitin Pawar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: