This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a change to branch copilot/review-algorithm-implementation
in repository https://gitbox.apache.org/repos/asf/doris.git
from e973f4ff5d4 Initial plan
add 11ff3f1f893 feat: implement entropy aggregate function with
correctness fixes
No new revisions were added by this update.
Summary of changes:
.../aggregate_function_entropy.cpp | 65 +++++++
.../aggregate_function_entropy.h | 199 +++++++++++++++++++++
.../aggregate_function_simple_factory.cpp | 2 +
be/test/testutil/column_helper.h | 17 +-
.../vec/aggregate_functions/agg_entropy_test.cpp | 115 ++++++++++++
.../vec/aggregate_functions/agg_function_test.h | 6 +-
.../doris/catalog/BuiltinAggregateFunctions.java | 2 +
.../agg/{GroupArrayUnion.java => Entropy.java} | 55 +++---
.../visitor/AggregateFunctionVisitor.java | 5 +
.../aggregate/aggregate_function_entropy.out | 115 ++++++++++++
.../aggregate/aggregate_function_entropy.groovy | 185 +++++++++++++++++++
11 files changed, 726 insertions(+), 40 deletions(-)
create mode 100644
be/src/vec/aggregate_functions/aggregate_function_entropy.cpp
create mode 100644 be/src/vec/aggregate_functions/aggregate_function_entropy.h
create mode 100644 be/test/vec/aggregate_functions/agg_entropy_test.cpp
copy
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/{GroupArrayUnion.java
=> Entropy.java} (56%)
create mode 100644
regression-test/data/query_p0/aggregate/aggregate_function_entropy.out
create mode 100644
regression-test/suites/query_p0/aggregate/aggregate_function_entropy.groovy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]