drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Hayes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3249) CTAS from an empty TSV file fails
Date Wed, 03 Jun 2015 16:04:39 GMT
Stuart Hayes created DRILL-3249:
-----------------------------------

             Summary: CTAS from an empty TSV file fails
                 Key: DRILL-3249
                 URL: https://issues.apache.org/jira/browse/DRILL-3249
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Text & CSV
    Affects Versions: 1.0.0
            Reporter: Stuart Hayes
            Assignee: Steven Phillips


Performing a CTAS to parquet from an empty CSV file fails:

CREATE TABLE dfs.latest.d_csi(dsa_id, uid, DN, d_csi_name, d_svc_avail, d_sending_opt, d_supp_cap_ph,
d_repl_hndl_lup, d_repl_hnd_interr, d_opt_routing, ref_status) AS 
SELECT cast(columns[0] AS INTEGER), columns[1], columns[2], columns[3], columns[4], columns[5],
columns[6], columns[7], columns[8], columns[9], columns[10] FROM dfs.converted.`02062015/25/d_csi.txt`;

Error: SYSTEM ERROR: java.lang.IllegalArgumentException: MinorFragmentId 0 has no read entries
assigned

This is part of a daily automated job in which case the entire job fails.  An empty file/table
should be a valid scenario.



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

Mime
View raw message