You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/06/09 02:34:00 UTC

[jira] [Updated] (DRILL-3249) CTAS from an empty TSV file fails

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

Chris Westin updated DRILL-3249:
--------------------------------
    Fix Version/s: 1.1.0

> 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
>              Labels: csv
>             Fix For: 1.1.0
>
>
> 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)