[ https://issues.apache.org/jira/browse/SPARK-43859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17727019#comment-17727019 ]
Yuming Wang commented on SPARK-43859: ------------------------------------- https://github.com/apache/spark/pull/41359 > 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 > 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