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

Create table using DDL statement should not auto create the destination folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 2.4.3
    • None
    • Spark Core
    • None

    Description

      I create external table using this following DDL statement, the destination path was auto-created.

      CREATE TABLE ${tableName} USING parquet LOCATION ${path}
      

      But, if I specified file format as csv or json, the destination path was not created.

      CREATE TABLE ${tableName} USING CSV LOCATION ${path}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            thanida.t Thanida
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: