You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/03/07 15:19:38 UTC

[jira] [Commented] (SPARK-14471) The alias created in SELECT could be used in GROUP BY and followed expressions

    [ https://issues.apache.org/jira/browse/SPARK-14471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899584#comment-15899584 ] 

Apache Spark commented on SPARK-14471:
--------------------------------------

User 'maropu' has created a pull request for this issue:
https://github.com/apache/spark/pull/17191

> The alias created in SELECT could be used in GROUP BY and followed expressions
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-14471
>                 URL: https://issues.apache.org/jira/browse/SPARK-14471
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>            Reporter: Davies Liu
>
> This query should be able to run:
> {code}
> select a a1, a1 + 1 as b, count(1) from t group by a1
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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