提交 723514f3 编写于 作者: A Alex Duan

[TS-207]<fix>(query): remove check ts order

上级 b1692309
...@@ -289,11 +289,6 @@ static int compareRowData(const void *a, const void *b, const void *userData) { ...@@ -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) { 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 // first groupby column is sort column
SColIndex* pFirstGroupCol = taosArrayGet(pRuntimeEnv->pQueryAttr->pGroupbyExpr->columnInfo, 0); SColIndex* pFirstGroupCol = taosArrayGet(pRuntimeEnv->pQueryAttr->pGroupbyExpr->columnInfo, 0);
if (pFirstGroupCol == NULL) { if (pFirstGroupCol == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册