[jira] [Updated] (DRILL-3964) CTAS fails with NPE when source JSON file is empty

2018-05-29 Thread Vitalii Diravka (JIRA)


 [ 
https://issues.apache.org/jira/browse/DRILL-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitalii Diravka updated DRILL-3964:
---
Component/s: (was: Storage - Parquet)
 Storage - Writer

> CTAS fails with NPE when source JSON file is empty
> --
>
> Key: DRILL-3964
> URL: https://issues.apache.org/jira/browse/DRILL-3964
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Storage - Writer
>Affects Versions: 1.2.0
>Reporter: Abhishek Girish
>Assignee: Gautam Kumar Parai
>Priority: Major
>  Labels: ready-to-commit
> Fix For: 1.14.0
>
>
> {code:sql}
> CREATE TABLE `complex.json` AS
>   SELECT id,
>  gbyi,
>  gbyt,
>  fl,
>  nul,
>  bool,
>  str,
>  sia,
>  sfa,
>  soa,
>  ooa,
>  oooi,
>  ooof,
>  ooos,
>  oooa
> FROM   dfs.`/drill/testdata/complex/json/complex.json`;
> Error: SYSTEM ERROR: NullPointerException
> Fragment 0:0
> [Error Id: 97679667-412a-475f-aebf-e935405c7330 on drill-democ1:31010] 
> (state=,code=0)
> {code}
> {code:sql}
> > select * from dfs.`/drill/testdata/complex/json/complex.json` limit 1;
> +--+
> |  |
> +--+
> +--+
> No rows selected (0.295 seconds)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-3964) CTAS fails with NPE when source JSON file is empty

2018-05-29 Thread Vitalii Diravka (JIRA)


 [ 
https://issues.apache.org/jira/browse/DRILL-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitalii Diravka updated DRILL-3964:
---
Fix Version/s: 1.14.0

> CTAS fails with NPE when source JSON file is empty
> --
>
> Key: DRILL-3964
> URL: https://issues.apache.org/jira/browse/DRILL-3964
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Storage - Parquet
>Affects Versions: 1.2.0
>Reporter: Abhishek Girish
>Assignee: Gautam Kumar Parai
>Priority: Major
>  Labels: ready-to-commit
> Fix For: 1.14.0
>
>
> {code:sql}
> CREATE TABLE `complex.json` AS
>   SELECT id,
>  gbyi,
>  gbyt,
>  fl,
>  nul,
>  bool,
>  str,
>  sia,
>  sfa,
>  soa,
>  ooa,
>  oooi,
>  ooof,
>  ooos,
>  oooa
> FROM   dfs.`/drill/testdata/complex/json/complex.json`;
> Error: SYSTEM ERROR: NullPointerException
> Fragment 0:0
> [Error Id: 97679667-412a-475f-aebf-e935405c7330 on drill-democ1:31010] 
> (state=,code=0)
> {code}
> {code:sql}
> > select * from dfs.`/drill/testdata/complex/json/complex.json` limit 1;
> +--+
> |  |
> +--+
> +--+
> No rows selected (0.295 seconds)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-3964) CTAS fails with NPE when source JSON file is empty

2018-05-25 Thread Boaz Ben-Zvi (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boaz Ben-Zvi updated DRILL-3964:

Labels: ready  (was: )

> CTAS fails with NPE when source JSON file is empty
> --
>
> Key: DRILL-3964
> URL: https://issues.apache.org/jira/browse/DRILL-3964
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Storage - Parquet
>Affects Versions: 1.2.0
>Reporter: Abhishek Girish
>Assignee: Gautam Kumar Parai
>Priority: Major
>  Labels: ready
>
> {code:sql}
> CREATE TABLE `complex.json` AS
>   SELECT id,
>  gbyi,
>  gbyt,
>  fl,
>  nul,
>  bool,
>  str,
>  sia,
>  sfa,
>  soa,
>  ooa,
>  oooi,
>  ooof,
>  ooos,
>  oooa
> FROM   dfs.`/drill/testdata/complex/json/complex.json`;
> Error: SYSTEM ERROR: NullPointerException
> Fragment 0:0
> [Error Id: 97679667-412a-475f-aebf-e935405c7330 on drill-democ1:31010] 
> (state=,code=0)
> {code}
> {code:sql}
> > select * from dfs.`/drill/testdata/complex/json/complex.json` limit 1;
> +--+
> |  |
> +--+
> +--+
> No rows selected (0.295 seconds)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)