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 2020/11/10 10:50:00 UTC
[jira] [Assigned] (SPARK-33410) Resolve SQL query reference a
column by an alias
[ https://issues.apache.org/jira/browse/SPARK-33410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-33410:
------------------------------------
Assignee: Apache Spark
> Resolve SQL query reference a column by an alias
> ------------------------------------------------
>
> Key: SPARK-33410
> URL: https://issues.apache.org/jira/browse/SPARK-33410
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Yuming Wang
> Assignee: Apache Spark
> Priority: Major
>
> This pr add support resolve SQL query reference a column by an alias, for example:
> ```sql
> select id + 1 as new_id, new_id + 1 as new_new_id from range(5);
> ```
> Teradata support this feature: https://docs.teradata.com/reader/e79ET77~NzPDz~Ykinj44w/MKSYuTyx2UJWXzdHJf3~sQ
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org