You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/07/29 00:01:05 UTC

[jira] [Created] (DRILL-3571) TestBuilder: empty list to baselineRecords yields IndexOutOfBoundsException

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)