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

V1 table name should be fully qualified if catalog name is provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.1.0
    • 3.0.0
    • SQL
    • None

    Description

      For the following example,

      sql("CREATE TABLE t USING json AS SELECT 1 AS i")
      sql("SELECT * FROM spark_catalog.t")
      

      `spark_catalog.t` is expanded to `spark_catalog.default.t` assuming that the current namespace is `default`. However, this is not consistent with V2 behavior where namespace should be provided if the catalog name is also provided.

      Attachments

        Activity

          People

            imback82 Terry Kim
            imback82 Terry Kim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: