This is an automated email from the ASF dual-hosted git repository. jianliangqi pushed a change to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
from 3e445227a96 branch-3.0: [improve](http) Save the requested url in http execution error #43855 (#44051) add 15e26de31d1 [feature](function) add approx_top_k aggregation function (#44082) No new revisions were added by this update. Summary of changes: .../vec/aggregate_functions/aggregate_function.h | 1 + .../aggregate_function_approx_top.h | 109 +++++++ .../aggregate_function_approx_top_k.cpp | 43 +++ .../aggregate_function_approx_top_k.h | 229 ++++++++++++++ .../aggregate_function_approx_top_sum.cpp | 71 +++++ .../aggregate_function_approx_top_sum.h | 245 +++++++++++++++ .../aggregate_function_simple_factory.cpp | 8 +- be/src/vec/common/arena_with_free_lists.h | 104 +++++++ be/src/vec/common/bit_helpers.h | 45 +++ be/src/vec/common/space_saving.h | 342 +++++++++++++++++++++ be/src/vec/exprs/vectorized_agg_fn.cpp | 16 +- be/test/common/space_saving_test.cpp | 300 ++++++++++++++++++ .../doris/catalog/BuiltinAggregateFunctions.java | 4 + .../expressions/functions/agg/ApproxTopK.java | 94 ++++++ .../expressions/functions/agg/ApproxTopSum.java | 94 ++++++ .../visitor/AggregateFunctionVisitor.java | 10 + .../inverted_index_p0/test_index_approx_top_k.out | 109 +++++++ .../test_index_approx_top_sum.out | 109 +++++++ .../test_index_approx_top_k.groovy | 153 +++++++++ .../test_index_approx_top_sum.groovy | 153 +++++++++ 20 files changed, 2233 insertions(+), 6 deletions(-) create mode 100644 be/src/vec/aggregate_functions/aggregate_function_approx_top.h create mode 100644 be/src/vec/aggregate_functions/aggregate_function_approx_top_k.cpp create mode 100644 be/src/vec/aggregate_functions/aggregate_function_approx_top_k.h create mode 100644 be/src/vec/aggregate_functions/aggregate_function_approx_top_sum.cpp create mode 100644 be/src/vec/aggregate_functions/aggregate_function_approx_top_sum.h create mode 100644 be/src/vec/common/arena_with_free_lists.h create mode 100644 be/src/vec/common/bit_helpers.h create mode 100644 be/src/vec/common/space_saving.h create mode 100644 be/test/common/space_saving_test.cpp create mode 100644 fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/ApproxTopK.java create mode 100644 fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/ApproxTopSum.java create mode 100644 regression-test/data/inverted_index_p0/test_index_approx_top_k.out create mode 100644 regression-test/data/inverted_index_p0/test_index_approx_top_sum.out create mode 100644 regression-test/suites/inverted_index_p0/test_index_approx_top_k.groovy create mode 100644 regression-test/suites/inverted_index_p0/test_index_approx_top_sum.groovy --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org