diff --git a/src/system/detail/src/vnodeQueryImpl.c b/src/system/detail/src/vnodeQueryImpl.c index 15cd0675bf50c10f228800c7874ea5b5fccda1ae..a24a241baa9b3ad2b760c52e02f2427ab123ebe2 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