-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opt](auto-inc) Allow to miss auto-increment column and other value c…
…olumns in partial update (#44528) Previously, if a partial update misses auto-increment key columns and other value columns, the load will fail with error `distributed column not found, column=xxx`. Considering the uniqueness of the generated value of auto-increment column, this PR converts the partial update load to upsert in this situation to make it llegal. ### Release note Allow to miss auto-increment key column and other value columns in partial update load
- Loading branch information
Showing
3 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,11 @@ doris9 | |
3 888 888 30 | ||
4 40 40 40 | ||
|
||
-- !sql -- | ||
test1 15 | ||
test2 29 | ||
test3 49 | ||
|
||
-- !sql -- | ||
3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters