Rahul Challapalli created DRILL-4024:
----------------------------------------

             Summary: CTAS with auto partition gives an NPE when the partition 
column has null values in it
                 Key: DRILL-4024
                 URL: https://issues.apache.org/jira/browse/DRILL-4024
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Writer
            Reporter: Rahul Challapalli


git.commit.id.abbrev=522eb81

The data set used contains null values in the partition column. This causes the 
below query to fail with an NPE

{code}
create table fewtypesnull_varcharpartition partition by (varchar_col) as select 
* from dfs.`/drill/testdata/cross-sources/fewtypes_null.parquet`;
Error: SYSTEM ERROR: NullPointerException

Fragment 0:0

[Error Id: 6ef352c0-a12d-477c-bba8-e4a747a6b78e on qa-node190.qa.lab:31010] 
(state=,code=0)
{code}

I attached the data set and error log. Let me know if more information is needed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to