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

qualified external datasource table location stored in catalog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • SQL
    • None

    Description

      If we create a external datasource table with a non-qualified location , we should qualified it to store in catalog.

      CREATE TABLE t(a string)
      USING parquet
      LOCATION '/path/xx'
      
      
      CREATE TABLE t1(a string, b string)
      USING parquet
      PARTITIONED BY(b)
      LOCATION '/path/xx'
      

      when we get the table from catalog, the location should be qualified, e.g.'file:/path/xxx'

      Attachments

        Activity

          People

            windpiger Song Jun
            windpiger Song Jun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: