-
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
[Bug] (good first issue) Add trim to table attributes during table creation #47851
Comments
What version of Doris are you using? The new version of Doris does not have this issue. When executing the above alter statement, an error message "errCode = 2, detailMessage = Invalid dynamic partition properties: dynamic_partition.start" will be reported. @deardeng |
you can add a regression case to test it. Use the following testing steps
|
@chuang-wang-pre this error "errCode = 2, detailMessage = Invalid dynamic partition properties: dynamic_partition.start", It shouldn't happen because the dynamic partition table has a |
I couldn’t reproduce it in the master test either. If there is a space after "dynamic_partition.start " = "-7" in the CREATE TABLE statement, the table tbl1 cannot be created successfully. However, if there is a space before " dynamic_partition.start" = "-7", the table tbl1 can be created. When executing ALTER TABLE tbl1 SET ("dynamic_partition.start " = "-2147483648"); it throws the error ERROR 1105 (HY000): errCode = 2, detailMessage = Invalid dynamic partition properties: dynamic_partition.start |
@felixwluo 这里alter不应该抛出异常的,因为动态表里面是有dynamic_partition.start这个属性的,所以肯定table 保存的属性和 alter传入的属性,字符串匹配不上的,你可以调试看看的,寻找一下原因的 |
Search before asking
Version
doris master
What's Wrong?
Fix many properties in the table building attribute that do not have a trim, which may result in errors in the subsequent process
BUG!
What You Expected?
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: