spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheng Lian (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-14488) Creating temporary table using SQL DDL shouldn't write files to file system
Date Fri, 08 Apr 2016 10:59:25 GMT
Cheng Lian created SPARK-14488:
----------------------------------

             Summary: Creating temporary table using SQL DDL shouldn't write files to file
system
                 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message