You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2022/12/20 20:29:00 UTC

[jira] [Created] (SPARK-41633) Identify aggregation expression in the nodePatterns of PythonUDF

Gengliang Wang created SPARK-41633:
--------------------------------------

             Summary: Identify aggregation expression in the nodePatterns of PythonUDF
                 Key: SPARK-41633
                 URL: https://issues.apache.org/jira/browse/SPARK-41633
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Gengliang Wang
            Assignee: Gengliang Wang


When a PythonUDF is evaluated as SQL_GROUPED_AGG_PANDAS_UDF, we can mark it as AGGREGATE_EXPRESSION in the `nodePatterns`. So that we can check whether an expression contains aggregation with a handy way: `expr.containsPattern(AGGREGATE_EXPRESSION)` 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org