KnightChess created SPARK-48419: ----------------------------------- Summary: Foldable propagation change output schema Key: SPARK-48419 URL: https://issues.apache.org/jira/browse/SPARK-48419 Project: Spark Issue Type: Sub-task Components: SQL Affects Versions: 3.3.4, 3.5.1, 3.2.4, 3.1.3, 3.0.3, 4.0.0 Reporter: KnightChess
column name will be change by `FoldablePropagation` in optimizer befor optimizer: ```shell 'Project ['x, 'y, 'z] +- 'Project ['a AS x#112, str AS Y#113, 'b AS z#114] +- LocalRelation <empty>, [a#0, b#1] ``` after optimizer: ```shell Project [x#112, str AS Y#113, z#114] +- Project [a#0 AS x#112, str AS Y#113, b#1 AS z#114] +- LocalRelation <empty>, [a#0, b#1] ``` column name `y` will be replace to 'Y' -- 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