drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Girish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3964) CTAS fails with NPE when source JSON file is empty
Date Thu, 22 Oct 2015 01:28:27 GMT
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)

Mime
View raw message