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] [Updated] (DRILL-3570) TestBuilder.baselineRecords(List<Map>) doesn't handle null well
Date Tue, 28 Jul 2015 22:46:05 GMT

     [ https://issues.apache.org/jira/browse/DRILL-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Barclay (Drill) updated DRILL-3570:
------------------------------------------
    Summary: TestBuilder.baselineRecords(List<Map>) doesn't handle null well  (was:
TestBuilder.baselineRecords(List<Map) doesn't handle null well)

> TestBuilder.baselineRecords(List<Map>) doesn't handle null well
> ---------------------------------------------------------------
>
>                 Key: DRILL-3570
>                 URL: https://issues.apache.org/jira/browse/DRILL-3570
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Jason Altekruse
>
> TestBuilder.baselineRecords(List<Map>) accepts a call with null (doesn't reject
it with a bad-parameter error) but does not accept it as an specification of a baseline (to
prevent the "Must provide some kind of baseline, either a baseline file or another query"
error).
> Either it should reject null (and the parameter documentation should probably have ";
not null" added), or when it gets null, it should take that as providing some kind of baseline
(maybe a baseline of zero rows (like and empty list), or maybe a don't-care baseline) (and
the documentation should reflect that).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message