feat: sma index optimize
This commit is contained in:
parent
cd31496882
commit
58808db4cd
|
@ -438,7 +438,6 @@ typedef struct SQueryPlan {
|
||||||
int32_t numOfSubplans;
|
int32_t numOfSubplans;
|
||||||
SNodeList* pSubplans; // Element is SNodeListNode. The execution level of subplan, starting from 0.
|
SNodeList* pSubplans; // Element is SNodeListNode. The execution level of subplan, starting from 0.
|
||||||
SExplainInfo explainInfo;
|
SExplainInfo explainInfo;
|
||||||
SArray* pPlaceholderValues;
|
|
||||||
} SQueryPlan;
|
} SQueryPlan;
|
||||||
|
|
||||||
void nodesWalkPhysiPlan(SNode* pNode, FNodeWalker walker, void* pContext);
|
void nodesWalkPhysiPlan(SNode* pNode, FNodeWalker walker, void* pContext);
|
||||||
|
|
|
@ -525,7 +525,7 @@ int32_t ctgDumpTbIndexRes(SCtgTask* pTask) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SMetaRes res = {.code = pTask->code, .pRes = pTask->res};
|
SMetaRes res = {.code = pTask->code, .pRes = pTask->res};
|
||||||
taosArrayPush(pJob->jobRes.pTableHash, &res);
|
taosArrayPush(pJob->jobRes.pTableIndex, &res);
|
||||||
|
|
||||||
return TSDB_CODE_SUCCESS;
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -875,7 +875,9 @@ int32_t ctgHandleGetTbIndexRsp(SCtgTask* pTask, int32_t reqType, const SDataBuf
|
||||||
TSWAP(pTask->res, pTask->msgCtx.out);
|
TSWAP(pTask->res, pTask->msgCtx.out);
|
||||||
|
|
||||||
_return:
|
_return:
|
||||||
|
if (TSDB_CODE_MND_DB_INDEX_NOT_EXIST == code) {
|
||||||
|
code = TSDB_CODE_SUCCESS;
|
||||||
|
}
|
||||||
ctgHandleTaskEnd(pTask, code);
|
ctgHandleTaskEnd(pTask, code);
|
||||||
|
|
||||||
CTG_RET(code);
|
CTG_RET(code);
|
||||||
|
|
Loading…
Reference in New Issue