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/02/12 22:03:11 UTC

[jira] [Created] (DRILL-2231) CTAS followed by a select query fails via JDBC

Abhishek Girish created DRILL-2231:
--------------------------------------

             Summary: CTAS followed by a select query fails via JDBC
                 Key: DRILL-2231
                 URL: https://issues.apache.org/jira/browse/DRILL-2231
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - JDBC
    Affects Versions: 0.8.0
            Reporter: Abhishek Girish
            Assignee: Daniel Barclay (Drill/MapR)


The following two queries when executed at once, sequentially via JDBC fail:

(i) create table world_bank_par as select * from `world_bank.json`
[Succeeds]

(ii) select * from world_bank_par limit 1

Query failed: RuntimeException: maprfs:/drill/testdata/json_gaps/json_all_text_mode/world_bank_par/0_0_0.parquet is not a Parquet file (too small)

(iii) select * from world_bank_par limit 1

Query failed: RuntimeException: maprfs:/drill/testdata/json_gaps/json_all_text_mode/world_bank_par/0_0_0.parquet is not a Parquet file. expected magic number at tail [80, 65, 82, 49] but found [0, 0, 0, 0]

Log attached.



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