mirror of https://github.com/apache/druid.git
Checkstyle fix
This commit is contained in:
parent
73f4038068
commit
cce917ab84
|
@ -261,7 +261,7 @@ public class ScanQueryEngine
|
|||
/**
|
||||
* If we're performing time-ordering, we want to scan through every row in the segment (hence the maximum limit)
|
||||
*/
|
||||
private long calculateLimit(ScanQuery query, Map<String, Object> responseContext)
|
||||
private long calculateLimit(ScanQuery query, Map<String, Object> responseContext)
|
||||
{
|
||||
if (query.getTimeOrder().equals(ScanQuery.TimeOrder.NONE)) {
|
||||
return query.getLimit() - (long) responseContext.get(ScanQueryRunnerFactory.CTX_COUNT);
|
||||
|
|
Loading…
Reference in New Issue