incorrect column type when sync to starrocks
jzhao20230918 opened this issue · 0 comments
jzhao20230918 commented
Version:
- Bifrost Version: [e.g. v1.6.0-beta.03]
latest docker - Os Version: [e.g. CentOS Linux release 7.7.1908]
- Browse: [e.g. Chrome]
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- sync data from mysql to starrocks
- choose create starrocks table on fly
- the coloum type in mysql is varchar(300)
- bifrost would try to create table in starrocks with column type char(300), since the size is > 255, error would be raised
- even size is < 256, e.g. varchar(50), it would be converted to char(50) in starrocks
Expected behavior
varchar in mysql should be varchar in starrocks
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.