chore: error logs of create sma cols
This commit is contained in:
parent
329797ce23
commit
a37d2c40fc
|
@ -1333,7 +1333,9 @@ static int32_t smaIndexOptCreateSmaCols(SNodeList* pFuncs, uint64_t tableId, SNo
|
||||||
SNode* pWsNode = smaIndexOptFindWStartFunc(pSmaFuncs);
|
SNode* pWsNode = smaIndexOptFindWStartFunc(pSmaFuncs);
|
||||||
if (!pWsNode) {
|
if (!pWsNode) {
|
||||||
nodesDestroyList(pCols);
|
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;
|
SExprNode exprNode;
|
||||||
exprNode.resType = ((SExprNode*)pWsNode)->resType;
|
exprNode.resType = ((SExprNode*)pWsNode)->resType;
|
||||||
|
|
Loading…
Reference in New Issue