[ 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)