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

marong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 0f0b8c0810 [GLUTEN-11401][VL] Add missing scenario for unsupported agg 
function (#11418)
0f0b8c0810 is described below

commit 0f0b8c0810bea53cd7b786b9a6e90268719e9216
Author: Rong Ma <[email protected]>
AuthorDate: Wed Jan 14 18:10:29 2026 +0000

    [GLUTEN-11401][VL] Add missing scenario for unsupported agg function 
(#11418)
---
 docs/velox-backend-aggregate-function-support.md |  8 ++++----
 tools/scripts/gen-function-support-docs.py       | 19 +++++++++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/docs/velox-backend-aggregate-function-support.md 
b/docs/velox-backend-aggregate-function-support.md
index ee6fa131cd..7c518530b1 100644
--- a/docs/velox-backend-aggregate-function-support.md
+++ b/docs/velox-backend-aggregate-function-support.md
@@ -1,6 +1,6 @@
 # Aggregate Functions Support Status
 
-**Out of 62 aggregate functions in Spark 3.5, Gluten currently fully supports 
54 functions and partially supports 1 function.**
+**Out of 62 aggregate functions in Spark 3.5, Gluten currently fully supports 
52 functions and partially supports 1 function.**
 
 ## Aggregate Functions
 
@@ -9,7 +9,7 @@
 | any                   | BoolOr                             | S        |      
          |
 | any_value             | AnyValue                           | S        |      
          |
 | approx_count_distinct | HyperLogLogPlusPlus                | S        |      
          |
-| approx_percentile     | ApproximatePercentile              | S        |      
          |
+| approx_percentile     | ApproximatePercentile              |          |      
          |
 | array_agg             | CollectList                        | S        |      
          |
 | avg                   | Average                            | S        |      
          |
 | bit_and               | BitAndAgg                          | S        |      
          |
@@ -45,8 +45,8 @@
 | min                   | Min                                | S        |      
          |
 | min_by                | MinBy                              | S        |      
          |
 | mode                  | Mode                               |          |      
          |
-| percentile            | Percentile                         | S        |      
          |
-| percentile_approx     | ApproximatePercentile              | S        |      
          |
+| percentile            | Percentile                         |          |      
          |
+| percentile_approx     | ApproximatePercentile              |          |      
          |
 | regr_avgx             | RegrAvgX                           | S        |      
          |
 | regr_avgy             | RegrAvgY                           | S        |      
          |
 | regr_count            | RegrCount                          | S        |      
          |
diff --git a/tools/scripts/gen-function-support-docs.py 
b/tools/scripts/gen-function-support-docs.py
index 4ba59b067e..314ab7ea0e 100644
--- a/tools/scripts/gen-function-support-docs.py
+++ b/tools/scripts/gen-function-support-docs.py
@@ -1029,6 +1029,25 @@ def parse_logs(log_file):
             else:
                 function_not_found(r)
 
+        elif "was not supported in AggregateRel" in r:
+            pattern = r"([\w0-9]+) was not supported in AggregateRel"
+
+            # Extract the function name
+            match = re.search(pattern, r)
+
+            if match:
+                function_name = match.group(1)
+                if function_name in function_names:
+                    support_list["aggregate"]["unsupported"].add(
+                        function_name_tuple(function_name)
+                    )
+                else:
+                    support_list["aggregate"]["unknown"].add(
+                        function_name_tuple(function_name)
+                    )
+            else:
+                function_not_found(r)
+
         elif "Unsupported aggregate mode" in r:
             pattern = r"Unsupported aggregate mode: [\w]+ for ([\w0-9]+)"
 


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

Reply via email to