Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Overwrite mode for write parquet/csv #3108

Merged
merged 16 commits into from
Nov 6, 2024
Prev Previous commit
Next Next commit
test
  • Loading branch information
Colin Ho authored and Colin Ho committed Oct 23, 2024
commit 3858353524473336fa70dadfa2beab95b622f4c0
4 changes: 3 additions & 1 deletion tests/io/test_write_modes_local.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Optional

import pytest

import daft
Expand All @@ -8,7 +10,7 @@ def write(
path: str,
format: str,
write_mode: str,
partition_cols: list[str] | None = None,
partition_cols: Optional[list[str]] = None,
):
if format == "parquet":
return df.write_parquet(path, write_mode=write_mode, partition_cols=partition_cols)
Expand Down
Loading