Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
BasicFormatMatcher.isReadable(...) calls getFirstPath(...) without checking that there is at least one path. This can cause an IndexOutOfBoundsException.
To reproduce, create an empty directory /tmp/CaseInsensitiveColumnNames and run exec/java-exec/src/test/java/org/apache/drill/TestExampleQueries.java.
Attachments
Issue Links
- contains
-
DRILL-3902 Bad error message: core cause not included in text; maybe wrong kind
- Resolved
- duplicates
-
DRILL-3508 IOOB raised if FROM points at an empty directory
- Resolved
-
DRILL-3813 table from directory subtree having no descendent files fails with index error
- Resolved
-
DRILL-3903 Querying empty directory yield internal index-out-of-bounds error
- Resolved
-
DRILL-4055 Query over nested empty directory results in IOB Exception
- Resolved
-
DRILL-2775 message error not clear when doing a select or ctas on empty folder
- Resolved
- is related to
-
DRILL-3974 Querying an empty workspace fails with IOBE
- Resolved
- is superceded by
-
DRILL-5546 Schema change problems caused by empty batch
- Resolved
-
DRILL-4185 UNION ALL involving empty directory on any side of union all results in Failed query
- Resolved
- relates to
-
DRILL-3468 CTAS IOB
- Resolved
-
DRILL-3837 Metadata Caching : refresh metadata command on an empty dir should throw proper error message
- Resolved