You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "mcdull_zhang (Jira)" <ji...@apache.org> on 2022/12/02 08:07:00 UTC
[jira] [Created] (SPARK-41361) Invalid call toAttribute on unresolved object exception caused by WidenSetOperationTypes
mcdull_zhang created SPARK-41361:
------------------------------------
Summary: 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
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org