-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix](delete) fix insert into cols should be corresponding to the query output for delete from command #47406
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
run buildall |
TPC-H: Total hot run time: 32244 ms
|
TPC-DS: Total hot run time: 191148 ms
|
ClickBench: Total hot run time: 31.02 s
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
30b28e7
to
3a18587
Compare
run buildall |
TPC-H: Total hot run time: 32248 ms
|
TPC-DS: Total hot run time: 185183 ms
|
ClickBench: Total hot run time: 31.29 s
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
@@ -475,7 +475,8 @@ public LogicalPlan completeQueryPlan(ConnectContext ctx, LogicalPlan logicalQuer | |||
expr = new UnboundAlias(new TinyIntLiteral(((byte) 1)), Column.DELETE_SIGN); | |||
} else if (column.getName().equalsIgnoreCase(Column.SEQUENCE_COL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it better to change like this?
} else if (column.getName().equalsIgnoreCase(Column.SEQUENCE_COL)) {
expr = new UnboundSlot(tableName, Column.SEQUENCE_COL);
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ry output for delete from command (#47406) for mow table with `function_column.sequence_col` map, if use `delete from` command and run into partial update, may get: ``` errCode = 2, detailMessage = insert into cols should be corresponding to the query output ```
… to the query output for delete from command #47406 (#47454) Cherry-picked from #47406 Co-authored-by: meiyi <[email protected]>
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
for mow table with
function_column.sequence_col
map, if usedelete from
command and run into partial update, may get:Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)