mirror of https://github.com/apache/druid.git
fix cursor overshooting granularity boundaries, due to incorrect gran.next() usage
This commit is contained in:
parent
cc08d6029f
commit
d722c99530
|
@ -272,7 +272,7 @@ public class QueryableIndexStorageAdapter extends BaseStorageAdapter
|
||||||
}
|
}
|
||||||
|
|
||||||
final Offset offset = new TimestampCheckingOffset(
|
final Offset offset = new TimestampCheckingOffset(
|
||||||
baseOffset, timestamps, Math.min(interval.getEndMillis(), gran.next(timeStart))
|
baseOffset, timestamps, Math.min(interval.getEndMillis(), gran.next(input))
|
||||||
);
|
);
|
||||||
|
|
||||||
return new Cursor()
|
return new Cursor()
|
||||||
|
|
Loading…
Reference in New Issue