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

Yuming Wang reassigned SPARK-43859:
-----------------------------------

    Assignee: Yuming Wang

> Override toString in LateralColumnAliasReference
> ------------------------------------------------
>
>                 Key: SPARK-43859
>                 URL: https://issues.apache.org/jira/browse/SPARK-43859
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.5.0
>            Reporter: Yuming Wang
>            Assignee: Yuming Wang
>            Priority: Major
>
> {code:sql}
> select id + 1 as a1, a1 + 2 as a3 from range(10);
> {code}
> Before:
> {noformat}
> Project [(id#2L + 1) AS a1#0, (lateralAliasReference('a1, a1, 'a1) + 2) AS 
> a3#1]
> +- Range (0, 10, step=1, splits=None)
> {noformat}
> After:
> {noformat}
> Project [(id#2L + 1) AS a1#0, (lateralAliasReference(a1) + 2) AS a3#1]
> +- Range (0, 10, step=1, splits=None)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to