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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to