Skip to content

Commit

Permalink
Test setting both OVERWRITE/OVERWRITE_OR_IGNORE
Browse files Browse the repository at this point in the history
  • Loading branch information
Mytherin committed May 25, 2024
1 parent 4e4a0e9 commit f360952
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/sql/copy/partitioned/hive_partitioning_overwrite.test
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ query I
SELECT * FROM '__TEST_DIR__/overwrite_test2/**/*.parquet'
----
84

statement error
COPY (SELECT 84 AS part_col) TO '__TEST_DIR__/overwrite_test' (FORMAT PARQUET, PARTITION_BY (part_col), OVERWRITE 1, OVERWRITE_OR_IGNORE 1);
----
Can only set one of OVERWRITE_OR_IGNORE or OVERWRITE

0 comments on commit f360952

Please sign in to comment.