[td-225]remove the unused code.

This commit is contained in:
Haojun Liao 2021-04-28 10:28:44 +08:00
parent 946fb46650
commit b3f8401737
1 changed files with 0 additions and 4 deletions

View File

@ -3051,10 +3051,6 @@ static void apercentile_finalizer(SQLFunctionCtx *pCtx) {
SResultRowCellInfo * pResInfo = GET_RES_INFO(pCtx);
SAPercentileInfo *pOutput = GET_ROWCELL_INTERBUF(pResInfo);
if (pOutput->pHisto->numOfElems > 1000) {
printf("%d\n", pOutput->pHisto->numOfElems);
}
if (pCtx->currentStage == MERGE_STAGE) {
if (pResInfo->hasResult == DATA_SET_FLAG) { // check for null
assert(pOutput->pHisto->numOfElems > 0);