mirror of
https://github.com/apache/druid.git
synced 2025-02-20 08:56:30 +00:00
Fixed failing test due to null resultFormat
This commit is contained in:
parent
7baeade832
commit
cd489a0208
@ -132,7 +132,7 @@ public class ScanQuery extends BaseQuery<ScanResultValue>
|
||||
{
|
||||
super(dataSource, querySegmentSpec, false, context);
|
||||
this.virtualColumns = VirtualColumns.nullToEmpty(virtualColumns);
|
||||
this.resultFormat = resultFormat;
|
||||
this.resultFormat = resultFormat == null ? ResultFormat.RESULT_FORMAT_LIST : resultFormat;
|
||||
this.batchSize = (batchSize == 0) ? 4096 * 5 : batchSize;
|
||||
this.limit = (limit == 0) ? Long.MAX_VALUE : limit;
|
||||
Preconditions.checkArgument(this.batchSize > 0, "batchSize must be greater than 0");
|
||||
|
Loading…
x
Reference in New Issue
Block a user