Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
Description
Trying to use an empty directory as a table results in an internal IndexOutOfBounds error:
0: jdbc:drill:zk=localhost:2181> SELECT * FROM `dfs`.`root`.`/tmp/empty_directory`; Error: VALIDATION ERROR: Index: 0, Size: 0 [Error Id: 66ff61ed-ea41-4af9-87c5-f91480ef1b21 on dev-linux2:31010] (state=,code=0) 0: jdbc:drill:zk=localhost:2181>
Attachments
Issue Links
- is duplicated by
-
DRILL-2618 BasicFormatMatcher calls getFirstPath(...) without checking # of paths is not zero
- Closed