Ryan Blue created SPARK-27919:
---------------------------------

             Summary: DataSourceV2: Add v2 session catalog
                 Key: SPARK-27919
                 URL: https://issues.apache.org/jira/browse/SPARK-27919
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.4.3
            Reporter: Ryan Blue


When no default catalog is set, the session catalog (v1) is responsible for 
table identifiers with no catalog part. When CTAS creates a table with a v2 
provider, a v2 catalog is required and the default catalog is used. But this 
may cause Spark to create a table in a catalog that it cannot use to look up 
the table.

In this case, a v2 catalog that delegates to the session catalog should be used 
instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to