[ https://issues.apache.org/jira/browse/SPARK-34634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425331#comment-17425331 ]
Apache Spark commented on SPARK-34634: -------------------------------------- User 'sarutak' has created a pull request for this issue: https://github.com/apache/spark/pull/34205 > Self-join with script transformation failed to resolve attribute correctly > -------------------------------------------------------------------------- > > Key: SPARK-34634 > URL: https://issues.apache.org/jira/browse/SPARK-34634 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, > 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1 > Reporter: EdisonWang > Assignee: EdisonWang > Priority: Minor > Fix For: 3.2.0 > > > To reproduce, > {code:java} > // code placeholder > create temporary view t as select * from values 0, 1, 2 as t(a); > WITH temp AS ( > SELECT TRANSFORM(a) USING 'cat' AS (b string) FROM t > ) > SELECT t1.b FROM temp t1 JOIN temp t2 ON t1.b = t2.b > {code} > > Spark will throw AnalysisException > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org