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

Hyukjin Kwon updated SPARK-22350:
---------------------------------
    Labels: bulk-closed  (was: )

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to