Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29014

DataSourceV2: Clean up current, default, and session catalog uses

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      Catalog tracking in DSv2 has evolved since the initial changes went in. We need to make sure that handling is consistent across plans using the latest rules:

      • The current catalog should be used when no catalog is specified
      • The default catalog is the catalog current is initialized to
      • If the default catalog is not set, then it is the built-in Spark session catalog, which will be called `spark_catalog` (This is the v2 session catalog)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                imback82 Terry Kim
                Reporter:
                rdblue Ryan Blue
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: