Uh oh!
There was an error while loading. Please reload this page.
[Fix](schema change) Fix can't do reorder column schema change for MOW table and duplicate key table - #37067
Merged
Merged
Conversation
doris-robot
commented
Jul 1, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
bobhan1
commented
Jul 1, 2024
ContributorAuthor
run buildall |
doris-robot
commented
Jul 1, 2024
TPC-H: Total hot run time: 39870 ms |
doris-robot
commented
Jul 1, 2024
TPC-DS: Total hot run time: 172284 ms |
doris-robot
commented
Jul 1, 2024
ClickBench: Total hot run time: 30.46 s |
Lchangliang
commented
Jul 2, 2024
Contributor
LGTM |
Lchangliang
approved these changes
Jul 2, 2024
Contributor
PR approved by anyone and no changes requested. |
Contributor
PR approved by at least one committer and no changes requested. |
zhannngchen
commented
Jul 2, 2024
Contributor
run p0 |
bobhan1
commented
Jul 2, 2024
ContributorAuthor
run buildall |
doris-robot
commented
Jul 2, 2024
TPC-H: Total hot run time: 40197 ms |
doris-robot
commented
Jul 2, 2024
TPC-DS: Total hot run time: 173890 ms |
doris-robot
commented
Jul 2, 2024
ClickBench: Total hot run time: 30.4 s |
Uh oh!
There was an error while loading. Please reload this page.
bobhan1
commented
Jul 2, 2024
ContributorAuthor
run buildall |
doris-robot
commented
Jul 2, 2024
ClickBench: Total hot run time: 30.24 s |
bobhan1
commented
Jul 3, 2024
ContributorAuthor
run external |
bobhan1
commented
Jul 3, 2024
ContributorAuthor
run buildall |
doris-robot
commented
Jul 3, 2024
TPC-H: Total hot run time: 40679 ms |
doris-robot
commented
Jul 3, 2024
TPC-DS: Total hot run time: 173581 ms |
doris-robot
commented
Jul 3, 2024
ClickBench: Total hot run time: 30.93 s |
dataroaring pushed a commit
that referenced
this pull request
Jul 17, 2024
…W table and duplicate key table (#37067) ## Proposed changes 1. set column's field `isAggregationTypeImplicit` correctly for mow table and duplicate key table to let `SchemaChangeHandler::createJob` can recognize that the schema change is a column reorder case. 2. remove useless test cases `test_schema_change_datev2_with_delete`, `test_dup_keys_schema_change_datev2`. These two cases wanted to test schema change from `datev1`/`datetimev1` to `datev2`/`datetimev2`. But the default type of columns created as `date`/`datetime` are already `datev2`/`datetimev2` now. Thest test cases should have met error "Nothing is changed. please check your alter stmt." when doris enable `datev2`/`datetimev2` by default but it didn't because `isAggregationTypeImplicit` is wrongly set for duplicate table column.
mongo360 pushed a commit
to mongo360/doris
that referenced
this pull request
Aug 16, 2024
…schema change for MOW table and duplicate key table apache#37067" (apache#37515) ## Proposed changes picks apache#37067
Closed
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
…W table and duplicate key table (apache#37067) ## Proposed changes 1. set column's field `isAggregationTypeImplicit` correctly for mow table and duplicate key table to let `SchemaChangeHandler::createJob` can recognize that the schema change is a column reorder case. 2. remove useless test cases `test_schema_change_datev2_with_delete`, `test_dup_keys_schema_change_datev2`. These two cases wanted to test schema change from `datev1`/`datetimev1` to `datev2`/`datetimev2`. But the default type of columns created as `date`/`datetime` are already `datev2`/`datetimev2` now. Thest test cases should have met error "Nothing is changed. please check your alter stmt." when doris enable `datev2`/`datetimev2` by default but it didn't because `isAggregationTypeImplicit` is wrongly set for duplicate table column.
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
) apache#37067 passed all pipeline cases based on the branch that doesn't contain apache#37039 which changed the output format merged later, causing this case's failure.
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 freeto 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
isAggregationTypeImplicitcorrectly for mow table and duplicate key table to letSchemaChangeHandler::createJobcan recognize that the schema change is a column reorder case.test_schema_change_datev2_with_delete,test_dup_keys_schema_change_datev2. These two cases wanted to test schema change fromdatev1/datetimev1todatev2/datetimev2. But the default type of columns created asdate/datetimeare alreadydatev2/datetimev2now. Thest test cases should have met error "Nothing is changed. please check your alter stmt." when doris enabledatev2/datetimev2by default but it didn't becauseisAggregationTypeImplicitis wrongly set for duplicate table column.branch-2.1-pick: #37226
branch-2.0-pick: #37515