Merge pull request #19412 from taosdata/fix/main_bugfix_wxy

fix: set operator precision miss
This commit is contained in:
Shengliang Guan 2023-01-08 09:38:41 +08:00 committed by GitHub
commit 0e561d0486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1334,6 +1334,7 @@ static int32_t createSetOpLogicNode(SLogicPlanContext* pCxt, SSetOperator* pSetO
}
if (TSDB_CODE_SUCCESS == code) {
pSetOp->precision = pSetOperator->precision;
*pLogicNode = (SLogicNode*)pSetOp;
} else {
nodesDestroyNode((SNode*)pSetOp);