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

Vitalii Diravka resolved DRILL-3249.
------------------------------------
    Resolution: Cannot Reproduce
      Assignee: Vitalii Diravka

> 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: Vitalii Diravka
>            Priority: Major
>              Labels: csv
>             Fix For: 1.14.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
(v7.6.3#76005)

Reply via email to