Skip to content

Commit

Permalink
Fix to_csv to avoid duplicated option 'path' for DataFrameWriter. (#1912
Browse files Browse the repository at this point in the history
)

Spark doesn't allow duplicated option `path` when `DataFrameWriter.save()` since Spark 3.1. (apache/spark#29543)
  • Loading branch information
ueshin authored Nov 13, 2020
1 parent 5b209ba commit d251264
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion databricks/koalas/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,6 @@ def to_csv(
if partition_cols is not None:
builder.partitionBy(partition_cols)
builder._set_opts(
path=path,
sep=sep,
nullValue=na_rep,
header=header,
Expand Down

0 comments on commit d251264

Please sign in to comment.