[ https://issues.apache.org/jira/browse/SPARK-41361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-41361: ------------------------------------ Assignee: (was: Apache Spark) > Invalid call toAttribute on unresolved object exception caused by > WidenSetOperationTypes > ---------------------------------------------------------------------------------------- > > Key: SPARK-41361 > URL: https://issues.apache.org/jira/browse/SPARK-41361 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.2.0 > Reporter: mcdull_zhang > Priority: Minor > > The problem can be reproduced in the following way: > {code:java} > spark-sql> CREATE OR REPLACE TEMPORARY VIEW t1 AS VALUES (1, 'a'), (2, 'b') > tbl(c1, c2); > spark-sql> CREATE OR REPLACE TEMPORARY VIEW t2 AS VALUES (1.0, 1), (2.0, 4) > tbl(c1, c2); > spark-sql> SELECT > > TRANSFORM(*) USING 'cat' AS (a) > > FROM > > ( > > SELECT c2 AS c from t2 > > UNION > > SELECT c2 AS c from t1); > Invalid call to toAttribute on unresolved object{code} -- 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