spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-8532) In Python's DataFrameWriter, json/parquet/jdbc always override mode
Date Mon, 22 Jun 2015 16:47:01 GMT
Yin Huai created SPARK-8532:
-------------------------------

             Summary: In Python's DataFrameWriter, 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
            Priority: Critical


Although users can use {{df.write.mode("overwrite")}} to specify the mode, when 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


Mime
View raw message