You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2019/06/02 23:38:00 UTC

[jira] [Created] (SPARK-27919) DataSourceV2: Add v2 session catalog

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