You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2015/06/22 19:39:01 UTC

[jira] [Assigned] (SPARK-8532) In Python's DataFrameWriter, save/saveAsTable/json/parquet/jdbc always override mode

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

Yin Huai reassigned SPARK-8532:
-------------------------------

    Assignee: Yin Huai

> In Python's DataFrameWriter, save/saveAsTable/json/parquet/jdbc always override mode
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-8532
>                 URL: https://issues.apache.org/jira/browse/SPARK-8532
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0
>            Reporter: Yin Huai
>            Assignee: Yin Huai
>            Priority: Critical
>
> Although users can use {{df.write.mode("overwrite")}} to specify the mode, when save/saveAsTable/json/parquet/jdbc is called, this mode will be overridden. For example, the implementation of json method is 
> {code}
> def json(self, path, mode="error"):
>   self._jwrite.mode(mode).json(path)
> {code}
> If users only call {{json("path")}}, the mode will be "error" instead of the mode specified in the mode method.



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