You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:15:40 UTC
[jira] [Resolved] (SPARK-22350) Select grouping__id from subquery
[ https://issues.apache.org/jira/browse/SPARK-22350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-22350.
----------------------------------
Resolution: Incomplete
> Select grouping__id from subquery
> ---------------------------------
>
> Key: SPARK-22350
> URL: https://issues.apache.org/jira/browse/SPARK-22350
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.2.0
> Reporter: jin xing
> Priority: Major
> Labels: bulk-closed
>
> Currently, sql below will fail:
> SELECT cnt, k2, k3, grouping__id
> FROM
> (SELECT count(*) as cnt, k2, k3, grouping__id
> FROM t1
> GROUP BY k2, k3
> GROUPING SETS(k2, k3)) t2
> Can we support selecting grouping__id from subquery ?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org