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

NPE when running CTAS auto partition on date and varchar columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Storage - Parquet
    • None

    Description

      git.commit.id.abbrev=4ee1d4c

      The below ctas query fails with NPE

      create table item_multipart partition by (i_rec_start_date, i_size) as select * from item;
      Error: SYSTEM ERROR: NullPointerException
      
      Fragment 0:0
      
      [Error Id: 0f861e32-4d14-461e-bfc3-b75fd3ac6668 on qa-node190.qa.lab:31010] (state=,code=0)
      

      There are null values for i_size column for some of the records. Still not sure if this is expected though. This is also happening in drill 1.8 as well

      Attachments

        1. item.parquet
          1.72 MB
          Rahul Kumar Challapalli

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rkins Rahul Kumar Challapalli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: