mirror of https://github.com/apache/druid.git
IndexGranularity: Fix increment for day, week
This commit is contained in:
parent
d9b9f73494
commit
f8d9a3b19b
|
@ -204,7 +204,7 @@ public enum IndexGranularity
|
|||
@Override
|
||||
public long increment(long timeMillis)
|
||||
{
|
||||
return timeMillis - MILLIS_IN;
|
||||
return timeMillis + MILLIS_IN;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -273,7 +273,7 @@ public enum IndexGranularity
|
|||
@Override
|
||||
public long increment(long timeMillis)
|
||||
{
|
||||
return timeMillis - MILLIS_IN;
|
||||
return timeMillis + MILLIS_IN;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue