fix: fix last(tbname) out of memory issue

This commit is contained in:
dapan1121 2023-05-23 14:06:29 +08:00
parent bda3e6763f
commit d66f45308c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}