This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 702eeb7974e branch-4.0: [fix](function) fix error Agg Function 
histogram(boolean) is not implemented #56398 (#56442)
702eeb7974e is described below

commit 702eeb7974edb029a2df536d716d0b0253220384
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Sep 27 09:52:44 2025 +0800

    branch-4.0: [fix](function) fix error Agg Function histogram(boolean) is 
not implemented #56398 (#56442)
    
    Cherry-picked from #56398
    
    Co-authored-by: Mryange <[email protected]>
---
 be/src/vec/aggregate_functions/aggregate_function_histogram.cpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/be/src/vec/aggregate_functions/aggregate_function_histogram.cpp 
b/be/src/vec/aggregate_functions/aggregate_function_histogram.cpp
index cf1ed9f8a84..4322792c3b9 100644
--- a/be/src/vec/aggregate_functions/aggregate_function_histogram.cpp
+++ b/be/src/vec/aggregate_functions/aggregate_function_histogram.cpp
@@ -39,10 +39,11 @@ AggregateFunctionPtr 
create_aggregate_function_histogram(const std::string& name
                                                          const bool 
result_is_nullable,
                                                          const 
AggregateFunctionAttr& attr) {
     assert_arity_range(name, argument_types, 1, 2);
-    using creator = creator_with_type_list<TYPE_TINYINT, TYPE_SMALLINT, 
TYPE_INT, TYPE_BIGINT,
-                                           TYPE_LARGEINT, TYPE_FLOAT, 
TYPE_DOUBLE, TYPE_DECIMAL32,
-                                           TYPE_DECIMAL64, TYPE_DECIMAL128I, 
TYPE_DECIMAL256,
-                                           TYPE_VARCHAR, TYPE_DATEV2, 
TYPE_DATETIMEV2>;
+    using creator =
+            creator_with_type_list<TYPE_BOOLEAN, TYPE_TINYINT, TYPE_SMALLINT, 
TYPE_INT, TYPE_BIGINT,
+                                   TYPE_LARGEINT, TYPE_FLOAT, TYPE_DOUBLE, 
TYPE_DECIMAL32,
+                                   TYPE_DECIMAL64, TYPE_DECIMAL128I, 
TYPE_DECIMAL256, TYPE_VARCHAR,
+                                   TYPE_DATEV2, TYPE_DATETIMEV2>;
     if (argument_types.size() == 2) {
         return creator::create<HistogramWithInputParam, 
AggregateFunctionHistogramData>(
                 argument_types, result_is_nullable, attr);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to