提交 d66f4530 编写于 作者: D dapan1121

fix: fix last(tbname) out of memory issue

上级 bda3e676
......@@ -2198,7 +2198,7 @@ static bool lastRowScanOptMayBeOptimized(SLogicNode* pNode) {
SNode* pPar = nodesListGetNode(pAggFunc->pParameterList, 0);
if (QUERY_NODE_COLUMN == nodeType(pPar)) {
SColumnNode* pCol = (SColumnNode*)pPar;
if (pCol->colType == COLUMN_TYPE_TAG) {
if (pCol->colType != COLUMN_TYPE_COLUMN) {
return false;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册