Skip to content
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

incorrect column type when sync to starrocks #266

Open
jzhao20230918 opened this issue Jan 12, 2024 · 0 comments
Open

incorrect column type when sync to starrocks #266

jzhao20230918 opened this issue Jan 12, 2024 · 0 comments

Comments

@jzhao20230918
Copy link

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:

  1. sync data from mysql to starrocks
  2. choose create starrocks table on fly
  3. the coloum type in mysql is varchar(300)
  4. bifrost would try to create table in starrocks with column type char(300), since the size is > 255, error would be raised
  5. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant