You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2016/06/18 00:27:05 UTC

[jira] [Created] (SPARK-16033) DataFrameWriter.partitionBy() can't be used together with DataFrameWriter.insertInto()

Cheng Lian created SPARK-16033:
----------------------------------

             Summary: DataFrameWriter.partitionBy() can't be used together with DataFrameWriter.insertInto()
                 Key: SPARK-16033
                 URL: https://issues.apache.org/jira/browse/SPARK-16033
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.0.0
            Reporter: Cheng Lian
            Assignee: Cheng Lian


When inserting into an existing partitioned table, partitioning columns should always be determined by catalog metadata of the existing table to be inserted. Extra {{partitionBy()}} calls don't make sense, and mess up existing data because newly inserted data may have wrong partitioning directory layout.



--
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