提交 40135161 编写于 作者: A Alex Duan

feat(query): only count return zero, other return null if zero row

上级 81f0a03f
...@@ -1157,11 +1157,6 @@ static void sum_func_merge(SQLFunctionCtx *pCtx) { ...@@ -1157,11 +1157,6 @@ static void sum_func_merge(SQLFunctionCtx *pCtx) {
} }
} }
// support always return value option
if(notNullElems == 0 && tsAggAlways) {
notNullElems = 1;
}
SET_VAL(pCtx, notNullElems, 1); SET_VAL(pCtx, notNullElems, 1);
SResultRowCellInfo *pResInfo = GET_RES_INFO(pCtx); SResultRowCellInfo *pResInfo = GET_RES_INFO(pCtx);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册