fix: interval start window error

This commit is contained in:
dapan1121 2023-02-21 15:52:22 +08:00
parent c90e2aa791
commit 7b193ed943
1 changed files with 1 additions and 1 deletions

View File

@ -1696,7 +1696,7 @@ static void getInitialStartTimeWindow(SInterval* pInterval, TSKEY ts, STimeWindo
int64_t key = w->skey;
while (key < ts) { // moving towards end
key = taosTimeAdd(key, pInterval->sliding, pInterval->slidingUnit, pInterval->precision);
if (key >= ts) {
if (key > ts) {
break;
}