fix(query): set correct query time window.

This commit is contained in:
Haojun Liao 2022-07-09 23:33:03 +08:00
parent 3c49b6a633
commit 4a9e1e37ae
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ static STimeWindow getFirstQualifiedTimeWindow(int64_t ts, STimeWindow* pWindow,
return save;
}
// todo do refactor
// get the correct time window according to the handled timestamp
STimeWindow getActiveTimeWindow(SDiskbasedBuf* pBuf, SResultRowInfo* pResultRowInfo, int64_t ts, SInterval* pInterval,
int32_t precision, int32_t order) {