Replies: 1 comment
|
All three behaviours come from one function,
So, from the shell: -- v1.5.0 and later: removes the existing objects under the prefix, then writes
COPY tbl TO 's3://bucket/prefix' (FORMAT parquet, PARTITION_BY (year), OVERWRITE);This needs delete permission on the prefix ( COPY tbl TO 's3://bucket/prefix' (FORMAT parquet, PARTITION_BY (year), OVERWRITE_OR_IGNORE);which overwrites objects whose names collide with the new run ( This is from the source paths, not from a run against a bucket, so if |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
If I try to copy data to remote partitioned parquet file I get error with suggestion "Enable OVERWRITE option to overwrite files"
If I enable OVERWRITE I get error that it is not supported for remote files.
Finally if I don't use partitioning I can overwrite even without enabling OVERWRITE flag.
So, how to overwrite partitioned remote parquet files, from duckdb shell?
All reactions