You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2025/04/29 00:19:00 UTC

[jira] [Assigned] (SPARK-51901) Disallow generator functions in grouping sets

     [ https://issues.apache.org/jira/browse/SPARK-51901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan reassigned SPARK-51901:
-----------------------------------

    Assignee: Mihailo Aleksic

> Disallow generator functions in grouping sets
> ---------------------------------------------
>
>                 Key: SPARK-51901
>                 URL: https://issues.apache.org/jira/browse/SPARK-51901
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Mihailo Aleksic
>            Assignee: Mihailo Aleksic
>            Priority: Major
>              Labels: pull-request-available
>
> Currently following query throws an internal error:
> {code:java}
> select 1 group by grouping sets (inline(array(struct('column', 'col2'))))
> {code}
> I propose that we disallow generator functions in grouping sets and as a consequence throw a more user friendly one.



--
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