Jianshi Huang created SPARK-8014:
------------------------------------

             Summary: DataFrame.write.mode("error").save(...) should not scan 
the output folder
                 Key: SPARK-8014
                 URL: https://issues.apache.org/jira/browse/SPARK-8014
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.4.0
            Reporter: Jianshi Huang
            Priority: Minor


I have code that set the wrong output location, but failed with strange errors, 
it scaned my ~/.Trash folder...

It turned out save will scan the output folder first before mode("error") does 
the check. 

Scanning is unnecessary for mode = "error".





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

Reply via email to