[opt](autoinc) Forbid some schema change when the table has auto-increment column#37186
Merged
dataroaring merged 1 commit intoapache:masterfrom Jul 4, 2024
Merged
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 39801 ms |
TPC-DS: Total hot run time: 172515 ms |
ClickBench: Total hot run time: 30.44 s |
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
Yukang-Lian
approved these changes
Jul 3, 2024
Contributor
|
Why need to do that? |
bobhan1
added a commit
to bobhan1/doris
that referenced
this pull request
Jul 9, 2024
dataroaring
pushed a commit
that referenced
this pull request
Jul 17, 2024
…ement column (#37186) ## Proposed changes 1. forbid schema change that modify the auto-increment attribute of a column. 2. forbid adding auto-increment column to a table. 3. forbid schema change that invoke double writes on table which has auto-increment column.
Closed
dataroaring
pushed a commit
that referenced
this pull request
Sep 24, 2024
…t has auto-increment column (#40280) ## Proposed changes - #37186 forbids some schema change on table with auto-increment column, one of which is to forbid schema change that involves double write on tables which has auto-increment column. However, the process of generating auto-increment column values is before the distributing data to indexes. So this restriction can be removed. branch-2.1-pick: #41096
dataroaring
pushed a commit
that referenced
this pull request
Oct 9, 2024
…t has auto-increment column (#40280) ## Proposed changes - #37186 forbids some schema change on table with auto-increment column, one of which is to forbid schema change that involves double write on tables which has auto-increment column. However, the process of generating auto-increment column values is before the distributing data to indexes. So this restriction can be removed. branch-2.1-pick: #41096
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
branch-2.1-pick: #37331