chore: error logs of create sma cols

This commit is contained in:
kailixu 2023-05-23 11:06:44 +08:00
parent 329797ce23
commit a37d2c40fc
1 changed files with 3 additions and 1 deletions

View File

@ -1333,7 +1333,9 @@ static int32_t smaIndexOptCreateSmaCols(SNodeList* pFuncs, uint64_t tableId, SNo
SNode* pWsNode = smaIndexOptFindWStartFunc(pSmaFuncs);
if (!pWsNode) {
nodesDestroyList(pCols);
return TSDB_CODE_APP_ERROR;
code = TSDB_CODE_APP_ERROR;
qError("create sma cols failed since %s(_wstart not exist)", tstrerror(code));
return code;
}
SExprNode exprNode;
exprNode.resType = ((SExprNode*)pWsNode)->resType;