Skip to content

Commit

Permalink
Add append mode
Browse files Browse the repository at this point in the history
  • Loading branch information
scgkiran committed Oct 23, 2024
1 parent cc0ead6 commit 0997d85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proto/substrait/algebra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,10 @@ message WriteRel {

enum CreateMode {
CREATE_MODE_UNSPECIFIED = 0;
CREATE_MODE_ERROR_IF_EXISTS = 1; // Throw an error if the table already exists (default behavior)
CREATE_MODE_APPEND_IF_EXISTS = 1; // Append the data to the table if it already exists
CREATE_MODE_REPLACE_IF_EXISTS = 2; // Replace the table if it already exists ("OR REPLACE")
CREATE_MODE_IGNORE_IF_EXISTS = 3; // Ignore the request if the table already exists ("IF NOT EXISTS")
CREATE_MODE_ERROR_IF_EXISTS = 4; // Throw an error if the table already exists (default behavior)
}

enum OutputMode {
Expand Down

0 comments on commit 0997d85

Please sign in to comment.