diff --git a/src/system/detail/src/vnodeQueryImpl.c b/src/system/detail/src/vnodeQueryImpl.c index 5439a1e56c7c0439d53a6f8dd767c5372c9195b7..dac40c70c9e908c6b600d8e42d49b00e79b930db 100644 --- a/src/system/detail/src/vnodeQueryImpl.c +++ b/src/system/detail/src/vnodeQueryImpl.c @@ -4020,16 +4020,7 @@ bool normalizedFirstQueryRange(bool dataInDisk, bool dataInCache, STableQuerySup *key = nextKey; } - // needs the data before the begin timestamp of query time window - if ((nextKey != pQuery->skey) && (!isPointInterpoQuery(pQuery))) { - if (!pRuntimeEnv->hasTimeWindow) { - pQuery->skey = nextKey; // change the query skey - pQuery->lastKey = pQuery->skey; - } - return true; - } else { - return doGetQueryPos(nextKey, pSupporter, pPointInterpSupporter); - } + return doGetQueryPos(nextKey, pSupporter, pPointInterpSupporter); } // set no data in file