You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Linhong Liu (Jira)" <ji...@apache.org> on 2020/08/21 08:48:00 UTC

[jira] [Created] (SPARK-32680) CTAS with V2 catalog wrongly accessed unresolved query

Linhong Liu created SPARK-32680:
-----------------------------------

             Summary: 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


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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org