Uh oh!
There was an error while loading. Please reload this page.
[Fix](schema change) Fix NPE when rename column on table which has sequence type column - #46906
Merged
dataroaring merged 2 commits intoJan 14, 2025
Merged
Conversation
bobhan1
requested review from
CalvinKirs, dataroaring and morningman
as code ownersJanuary 13, 2025 09:35
hello-stephen
commented
Jan 13, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
bobhan1
commented
Jan 13, 2025
ContributorAuthor
run buildall |
Uh oh!
There was an error while loading. Please reload this page.
doris-robot
commented
Jan 13, 2025
TPC-H: Total hot run time: 32686 ms |
doris-robot
commented
Jan 13, 2025
TPC-DS: Total hot run time: 187512 ms |
doris-robot
commented
Jan 13, 2025
ClickBench: Total hot run time: 31.36 s |
dataroaring
commented
Jan 13, 2025
Contributor
run buildall |
doris-robot
commented
Jan 13, 2025
TPC-H: Total hot run time: 32657 ms |
doris-robot
commented
Jan 13, 2025
TPC-DS: Total hot run time: 188339 ms |
doris-robot
commented
Jan 13, 2025
ClickBench: Total hot run time: 31.43 s |
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
github-actionsBot
pushed a commit
that referenced
this pull request
Jan 14, 2025
…quence type column (#46906) ### What problem does this PR solve? Problem Summary: ```mysql CREATE TABLE `tbl` ( `c` tinyint NULL, ) ENGINE=OLAP UNIQUE KEY(`c`) DISTRIBUTED BY HASH(`c`) BUCKETS 10 PROPERTIES ( "function_column.sequence_type" = "bigint" ); mysql> alter table tbl rename column c c_bk; ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "org.apache.doris.catalog.OlapTable.getSequenceMapCol()" is null ```
gavinchou
approved these changes
Jan 14, 2025
bobhan1 added a commit
to bobhan1/doris
that referenced
this pull request
Jan 14, 2025
…quence type column (apache#46906) ### What problem does this PR solve? Problem Summary: ```mysql CREATE TABLE `tbl` ( `c` tinyint NULL, ) ENGINE=OLAP UNIQUE KEY(`c`) DISTRIBUTED BY HASH(`c`) BUCKETS 10 PROPERTIES ( "function_column.sequence_type" = "bigint" ); mysql> alter table tbl rename column c c_bk; ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "org.apache.doris.catalog.OlapTable.getSequenceMapCol()" is null ```
Closed
lzyy2024 pushed a commit
to lzyy2024/doris
that referenced
this pull request
Feb 21, 2025
…quence type column (apache#46906) ### What problem does this PR solve? Problem Summary: ```mysql CREATE TABLE `tbl` ( `c` tinyint NULL, ) ENGINE=OLAP UNIQUE KEY(`c`) DISTRIBUTED BY HASH(`c`) BUCKETS 10 PROPERTIES ( "function_column.sequence_type" = "bigint" ); mysql> alter table tbl rename column c c_bk; ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "org.apache.doris.catalog.OlapTable.getSequenceMapCol()" is null ```
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.
What problem does this PR solve?
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)