You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mihailo Aleksic (Jira)" <ji...@apache.org> on 2025/04/24 15:04:00 UTC
[jira] [Updated] (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 ]
Mihailo Aleksic updated SPARK-51901:
------------------------------------
Description:
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.
> 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
> Priority: Major
>
> 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