drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3571) TestBuilder: empty list to baselineRecords yields IndexOutOfBoundsException
Date Tue, 28 Jul 2015 22:01:04 GMT
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)

Mime
View raw message