This is an automated email from the ASF dual-hosted git repository.
jianliangqi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
from db03e3328e0 [chore](autopick)When the PR is merged, adding a label
afterward should also trigger the workflow. (#44057)
add 13ced20cc7e [feature](function) add approx_top_sum aggregation
function (#43643)
No new revisions were added by this update.
Summary of changes:
.../vec/aggregate_functions/aggregate_function.h | 2 +-
.../aggregate_function_approx_top.h | 80 +++++++++++++++
.../aggregate_function_approx_top_k.cpp | 48 +--------
.../aggregate_function_approx_top_k.h | 71 +-------------
.../aggregate_function_approx_top_sum.cpp | 71 ++++++++++++++
...top_k.h => aggregate_function_approx_top_sum.h} | 101 ++++++-------------
.../aggregate_function_simple_factory.cpp | 2 +
be/src/vec/exprs/vectorized_agg_fn.cpp | 10 +-
be/test/common/space_saving_test.cpp | 22 ++---
.../doris/catalog/BuiltinAggregateFunctions.java | 2 +
.../expressions/functions/agg/ApproxTopK.java | 14 ++-
.../agg/{ApproxTopK.java => ApproxTopSum.java} | 34 ++++---
.../visitor/AggregateFunctionVisitor.java | 5 +
.../inverted_index_p0/test_index_approx_top_k.out | 24 -----
.../test_index_approx_top_sum.out | 109 +++++++++++++++++++++
.../test_index_approx_top_k.groovy | 8 --
...p_k.groovy => test_index_approx_top_sum.groovy} | 58 +++++------
17 files changed, 381 insertions(+), 280 deletions(-)
create mode 100644
be/src/vec/aggregate_functions/aggregate_function_approx_top_sum.cpp
copy be/src/vec/aggregate_functions/{aggregate_function_approx_top_k.h =>
aggregate_function_approx_top_sum.h} (70%)
copy
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/{ApproxTopK.java
=> ApproxTopSum.java} (62%)
create mode 100644
regression-test/data/inverted_index_p0/test_index_approx_top_sum.out
copy regression-test/suites/inverted_index_p0/{test_index_approx_top_k.groovy
=> test_index_approx_top_sum.groovy} (60%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]