You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thanida (JIRA)" <ji...@apache.org> on 2019/08/08 14:40:00 UTC

[jira] [Updated] (SPARK-28653) Create table using DDL statement should not auto create the destination folder

     [ https://issues.apache.org/jira/browse/SPARK-28653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thanida updated SPARK-28653:
----------------------------
    Issue Type: Bug  (was: Question)

> Create table using DDL statement should not auto create the destination folder
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-28653
>                 URL: https://issues.apache.org/jira/browse/SPARK-28653
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.3
>            Reporter: Thanida
>            Priority: Minor
>
> I create external table using this following DDL statement, the destination path was auto-created.
> {code:java}
> CREATE TABLE ${tableName} USING parquet LOCATION ${path}
> {code}
> But, if I specified file format as csv or json, the destination path was not created.
> {code:java}
> CREATE TABLE ${tableName} USING CSV LOCATION ${path}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org