Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Reading an empty CSV file (an empty file with a name ending with ".csv") fails with an internal error rather than yielding zero rows:
> SELECT * FROM `empty_file.csv`;
Query failed: SYSTEM ERROR: Unexpected exception during fragment initialization: Incoming endpoints 1 is greater than number of row groups 0
[4e7c7167-51eb-485c-a07b-d41c2f63a670 on dev-linux2:31010]
Error: exception while executing query: Failure while executing query. (state=,code=0)
>
Attachments
Issue Links
- relates to
-
DRILL-2759 Wrong result on count(*) from empty csv file
- Resolved
-
DRILL-3557 Reading empty CSV file fails with SYSTEM ERROR
- Closed