You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2015/10/22 03:28:27 UTC
[jira] [Created] (DRILL-3964) CTAS fails with NPE when source JSON
file is empty
Abhishek Girish created DRILL-3964:
--------------------------------------
Summary: 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
{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
(v6.3.4#6332)