Daniel Barclay (Drill) created DRILL-3557:
---------------------------------------------
Summary: Reading empty CSV file fails with SYSTEM ERROR
Key: DRILL-3557
URL: https://issues.apache.org/jira/browse/DRILL-3557
Project: Apache Drill
Issue Type: Bug
Reporter: Daniel Barclay (Drill)
Trying to read an empty CSV file (a file containing zero bytes) fails with a
system error:
{noformat}
0: jdbc:drill:zk=local> SELECT * FROM `dfs.root`.`/tmp/empty.csv`;
Error: SYSTEM ERROR: IllegalArgumentException: MinorFragmentId 0 has no read
entries assigned
[Error Id: f1da68f6-9749-45bc-956b-20cbc6d28894 on dev-linux2:31010]
(state=,code=0)
0: jdbc:drill:zk=local>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)