提交 53ee89a5 编写于 作者: G Ganlin Zhao

fix bugs

上级 351ac2d8
......@@ -2082,7 +2082,8 @@ int32_t apercentileFunctionMerge(SqlFunctionCtx* pCtx) {
pInputInfo = (SAPercentileInfo *)varDataVal(data);
}
if (pInfo->algo == APERCT_ALGO_TDIGEST) {
pInfo->algo = pInputInfo->algo;
if (pInput->algo == APERCT_ALGO_TDIGEST) {
} else {
buildHistogramInfo(pInputInfo);
if (pInputInfo->pHisto->numOfElems <= 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册