[ https://issues.apache.org/jira/browse/SPARK-28653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916032#comment-16916032 ]
angerszhu commented on SPARK-28653: ----------------------------------- I tried it in Spark SQL, both situation will create path. > 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 (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org