[
https://issues.apache.org/jira/browse/SPARK-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheng Lian updated SPARK-8014:
------------------------------
Description:
When saving a DataFrame with {{ErrorIfExists}} as save mode, we shouldn't do
metadata discovery if the destination folder exists.
To reproduce this issue, we may make
was:
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".
> 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
>
> When saving a DataFrame with {{ErrorIfExists}} as save mode, we shouldn't do
> metadata discovery if the destination folder exists.
> To reproduce this issue, we may make
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]