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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.3
    • Fix Version/s: None
    • Component/s: Spark Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated: