Skip to content

Commit 9b18383

Browse files
committed
Clarify OVERWRITE options
Fixes duckdb#2756
1 parent ff90bab commit 9b18383

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/stable/data/partitioning/partitioned_writes.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ COPY orders TO 'orders'
7979
(FORMAT parquet, PARTITION_BY (year, month), OVERWRITE_OR_IGNORE, FILENAME_PATTERN 'file_{uuid}');
8080
```
8181

82-
8382
### Overwriting
8483

85-
By default the partitioned write will not allow overwriting existing directories. Use the `OVERWRITE_OR_IGNORE` option to allow overwriting an existing directory.
84+
By default the partitioned write will not allow overwriting existing directories.
85+
On a local file system, the `OVERWRITE` and `OVERWRITE_OR_IGNORE` options remove the existing directories.
86+
On remote file systems, overwriting is not supported.
8687

8788
### Appending
8889

0 commit comments

Comments
 (0)