mirror of https://github.com/apache/druid.git
Checkstyle and doc update
This commit is contained in:
parent
487f31fcf6
commit
480e932fdf
|
@ -158,7 +158,8 @@ The format of the result when resultFormat equals `compactedList`:
|
|||
The Scan query currently supports ordering based on timestamp for non-legacy queries. Note that using time ordering
|
||||
will yield results that do not indicate which segment rows are from (`segmentId` will show up as `null`). Furthermore,
|
||||
time ordering is only supported where the result set limit is less than `druid.query.scan.maxRowsQueuedForOrdering`
|
||||
rows **or** all segments scanned have fewer than `druid.query.scan.maxSegmentPartitionsOrderedInMemory` partitions. The
|
||||
rows **or** all segments scanned have fewer than `druid.query.scan.maxSegmentPartitionsOrderedInMemory` partitions. Also,
|
||||
time ordering is not support for queries issued directly to historicals unless a list of segments is specified. The
|
||||
reasoning behind these limitations is that the implementation of time ordering uses two strategies that can consume too
|
||||
much heap memory if left unbounded. These strategies (listed below) are chosen on a per-Historical basis depending on
|
||||
query result set limit and the number of segments being scanned.
|
||||
|
|
|
@ -35,7 +35,6 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
/**
|
||||
* This iterator supports iteration through a Sequence returned by a ScanResultValue QueryRunner. Its behaviour
|
||||
* varies depending on whether the query is returning time-ordered values and whether the CTX_KEY_OUTERMOST flag is
|
||||
|
|
|
@ -40,7 +40,6 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@RunWith(Parameterized.class)
|
||||
|
@ -165,7 +164,7 @@ public class ScanQueryRunnerFactoryTest
|
|||
scanResultValues3.add(ScanQueryTestHelper.generateScanResultValue(timestamp, resultFormat, 1));
|
||||
}
|
||||
|
||||
if ( query.getOrder() == ScanQuery.Order.DESCENDING) {
|
||||
if (query.getOrder() == ScanQuery.Order.DESCENDING) {
|
||||
Collections.reverse(scanResultValues1);
|
||||
Collections.reverse(scanResultValues2);
|
||||
Collections.reverse(scanResultValues3);
|
||||
|
|
Loading…
Reference in New Issue