Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
1.1.0
-
None
-
RHEL 7
Description
Tested on 1.1 with commit id:
0: jdbc:drill:zk=local> select commit_id from sys.version; +-------------------------------------------+ | commit_id | +-------------------------------------------+ | e3fc7e97bfe712dc09d43a8a055a5135c96b7344 | +-------------------------------------------+
Directory has child directories "a" to "u", each contain json files.
Running the query on each subdirectory indivudually does not cause an error.
java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: IndexOutOfBoundsException: index: 0, length: 1 (expected: range(0, 0)) Fragment 1:2 [Error Id: 69a0879f-f718-4930-ae6f-c526de05528c on ip-172-31-29-60.eu-central-1.compute.internal:31010] at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73) at sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:87) at sqlline.TableOutputFormat.print(TableOutputFormat.java:118) at sqlline.SqlLine.print(SqlLine.java:1583) at sqlline.Commands.execute(Commands.java:852) at sqlline.Commands.sql(Commands.java:751) at sqlline.SqlLine.dispatch(SqlLine.java:738) at sqlline.SqlLine.begin(SqlLine.java:612) at sqlline.SqlLine.start(SqlLine.java:366) at sqlline.SqlLine.main(SqlLine.java:259)
Attachments
Issue Links
- relates to
-
DRILL-2288 ScanBatch violates IterOutcome protocol for zero-row sources [was: missing JDBC metadata (schema) for 0-row results...]
- Closed