[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org