Daniel Barclay (Drill) created DRILL-3571:
---------------------------------------------
Summary: TestBuilder: empty list to baselineRecords yields
IndexOutOfBoundsException
Key: DRILL-3571
URL: https://issues.apache.org/jira/browse/DRILL-3571
Project: Apache Drill
Issue Type: Bug
Components: Tools, Build & Test
Reporter: Daniel Barclay (Drill)
Assignee: Jason Altekruse
Passing an empty list to TestBuilder.baselineRecords causes an
IndexOutOfBoundsException in the expression "baselineRecords.get(0)" in
compareMergedOnHeapVectors.
If baselineRecords's list is not intended to be an empty list, that should be
rejected at the call to baselineRecords.
Use case note: I was trying to specify to test that the results contains zero
records.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)