[ https://issues.apache.org/jira/browse/SPARK-14471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu updated SPARK-14471: ------------------------------- Description: This query should be able to run: {code} select a a1, a1 + 1 as b, count(1) from t group by a1 {code} was: This query should be able to run: {code} select a a1, count(1) from t group by a1 {code} > 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.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org