[
https://issues.apache.org/jira/browse/SPARK-32680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181912#comment-17181912
]
Apache Spark commented on SPARK-32680:
--------------------------------------
User 'linhongliu-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/29507
> CTAS with V2 catalog wrongly accessed unresolved query
> ------------------------------------------------------
>
> Key: SPARK-32680
> URL: https://issues.apache.org/jira/browse/SPARK-32680
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Linhong Liu
> Priority: Major
>
> Case:
> {{CREATE TABLE t USING delta AS SELECT * from nonexist }}
>
> Expected:
> throw AnalysisException with "Table or view not found"
>
> Actual:
> {{throw UnresolvedException with
> "org.apache.spark.sql.catalyst.analysis.UnresolvedException: Invalid call to
> toAttribute on unresolved object, tree: *"}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]