From 723514f3accb7b2f6b0fd48c916ef5ed8cb3868e Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Fri, 11 Mar 2022 16:37:55 +0800 Subject: [PATCH] [TS-207](query): remove check ts order --- src/query/src/qExecutor.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index 82e0a8dcd6..da346a23b6 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -289,11 +289,6 @@ static int compareRowData(const void *a, const void *b, const void *userData) { } static void sortGroupResByOrderList(SGroupResInfo *pGroupResInfo, SQueryRuntimeEnv *pRuntimeEnv, SSDataBlock* pDataBlock, SQLFunctionCtx *pCtx) { - // orderColId is 0 order by ts - if (pRuntimeEnv->pQueryAttr->order.orderColId <= 0){ - return; - } - // first groupby column is sort column SColIndex* pFirstGroupCol = taosArrayGet(pRuntimeEnv->pQueryAttr->pGroupbyExpr->columnInfo, 0); if (pFirstGroupCol == NULL) { -- GitLab