From 40f5234959796f2672953d62ac77c5ba216add20 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 20 Jul 2022 19:25:21 +0800 Subject: [PATCH] fix(query):update the log. --- source/libs/function/src/builtinsimpl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/libs/function/src/builtinsimpl.c b/source/libs/function/src/builtinsimpl.c index 59e330d019..298c0af61b 100644 --- a/source/libs/function/src/builtinsimpl.c +++ b/source/libs/function/src/builtinsimpl.c @@ -2576,7 +2576,9 @@ int32_t apercentileFunctionMerge(SqlFunctionCtx* pCtx) { apercentileTransferInfo(pInputInfo, pInfo); } - qDebug("after merge, total:%d, numOfEntry:%d, %p", pInfo->pHisto->numOfElems, pInfo->pHisto->numOfEntries, pInfo->pHisto); + if (pInfo->algo != APERCT_ALGO_TDIGEST) { + qDebug("after merge, total:%d, numOfEntry:%d, %p", pInfo->pHisto->numOfElems, pInfo->pHisto->numOfEntries, pInfo->pHisto); + } SET_VAL(pResInfo, 1, 1); return TSDB_CODE_SUCCESS; -- GitLab