From d3f6277a1e614c24fe9231c1ee75d92c656514f0 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Wed, 2 Jun 2021 14:01:31 +0800 Subject: [PATCH] fix ts precision issue --- src/client/src/tscUtil.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 15a8a9f678..507783e3cf 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -1170,7 +1170,8 @@ void handleDownstreamOperator(SSqlObj** pSqlObjList, int32_t numOfUpstream, SQue int32_t numOfFilterCols1 = 0; SSingleColumnFilterInfo* pFilterInfo1 = NULL; createInputDataFilterInfo(px, numOfCol1, &numOfFilterCols1, &pFilterInfo1); - + + pOutput->precision = pSqlObjList[i]->res.precision; p[i] = createDummyInputOperator(pSqlObjList[i], pSchema1, n, pFilterInfo1, numOfFilterCols1); memcpy(&schema[offset], pSchema1, n * sizeof(SSchema)); offset += n; @@ -4570,4 +4571,4 @@ SNewVgroupInfo createNewVgroupInfo(SVgroupMsg *pVgroupMsg) { } return info; -} \ No newline at end of file +} -- GitLab