-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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](schema change) Fix NPE when rename column on table which has sequence type column #46906
[Fix](schema change) Fix NPE when rename column on table which has sequence type column #46906
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
regression-test/suites/unique_with_mow_p0/test_seq_type_rename_col.groovy
Show resolved
Hide resolved
TPC-H: Total hot run time: 32686 ms
|
TPC-DS: Total hot run time: 187512 ms
|
ClickBench: Total hot run time: 31.36 s
|
run buildall |
TPC-H: Total hot run time: 32657 ms
|
TPC-DS: Total hot run time: 188339 ms
|
ClickBench: Total hot run time: 31.43 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. |
PR approved by anyone and no changes requested. |
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
…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 ```
…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 ```
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)