mirror of
https://github.com/apache/druid.git
synced 2025-02-17 15:35:56 +00:00
fix interval start before end in TimewarpOperator
This commit is contained in:
parent
280681e84b
commit
5dd23b19c3
@ -85,7 +85,7 @@ public class TimewarpOperator<T> implements PostProcessingOperator<T>
|
||||
|
||||
final Interval interval = query.getIntervals().get(0);
|
||||
final Interval modifiedInterval = new Interval(
|
||||
interval.getStartMillis() + offset,
|
||||
Math.min(interval.getStartMillis() + offset, now + offset),
|
||||
Math.min(interval.getEndMillis() + offset, now + offset)
|
||||
);
|
||||
return Sequences.map(
|
||||
|
Loading…
x
Reference in New Issue
Block a user