[ https://issues.apache.org/jira/browse/SPARK-14488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian updated SPARK-14488: ------------------------------- Summary: Weird behavior of DDL "CREATE TEMPORARY TABLE ... USING ... AS SELECT ..." (was: Creating temporary table using SQL DDL shouldn't write files to file system) > Weird behavior of DDL "CREATE TEMPORARY TABLE ... USING ... AS SELECT ..." > -------------------------------------------------------------------------- > > Key: SPARK-14488 > URL: https://issues.apache.org/jira/browse/SPARK-14488 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.0 > Reporter: Cheng Lian > Assignee: Cheng Lian > > The following Spark shell snippet shows that currently temporary table > creation writes files to file system: > {code} > sqlContext range 10 registerTempTable "t" > sqlContext sql "create temporary table s using parquet as select * from t" > {code} > The problematic code is > [here|https://github.com/apache/spark/blob/73b56a3c6c5c590219b42884c8bbe88b0a236987/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/ddl.scala#L137]. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org