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

create table for data source tables should work with an non-existent location

    XMLWordPrintableJSON

Details

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

    Description

      This JIRA is a follow up work after SPARK-19583

      As we discussed in that PR

      The following DDL for datasource table with an non-existent location should work:
      ``
      CREATE TABLE ... (PARTITIONED BY ...) LOCATION path
      ```
      Currently it will throw exception that path not exists

      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: