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

[bug][pipeline-connector][starrocks] Optimize char type mapping for starrocks pipeline connector #2895

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

WholeWorld-Timothy
Copy link
Contributor

@WholeWorld-Timothy WholeWorld-Timothy commented Dec 20, 2023

In the StarRocks, The primary key columns can be any of the following data types: BOOLEAN, TINYINT, SMALLINT, INT, BIGINT, LARGEINT, STRING, VARCHAR, DATE, and DATETIME, But it doesn't include CHAR.
When a char type appears in the primary key of MySQL, creating a table in StarRocks requires conversion to varchar type.

@WholeWorld-Timothy WholeWorld-Timothy changed the title optimize char type mapping for starrocks pipeline connector Optimize char type mapping for starrocks pipeline connector Dec 20, 2023
@WholeWorld-Timothy WholeWorld-Timothy force-pushed the optimize-char-mapping branch 3 times, most recently from 70a8a00 to df2c064 Compare December 21, 2023 01:59
Signed-off-by: 张田 <zhang_tian@inspur.com>
@github-actions github-actions bot removed the common label Dec 21, 2023
@WholeWorld-Timothy WholeWorld-Timothy changed the title Optimize char type mapping for starrocks pipeline connector [BUG][pipeline-connector][starrocks]Optimize char type mapping for starrocks pipeline connector Dec 21, 2023
@WholeWorld-Timothy WholeWorld-Timothy changed the title [BUG][pipeline-connector][starrocks]Optimize char type mapping for starrocks pipeline connector [BUG][pipeline-connector][starrocks] Optimize char type mapping for starrocks pipeline connector Dec 21, 2023
@WholeWorld-Timothy WholeWorld-Timothy changed the title [BUG][pipeline-connector][starrocks] Optimize char type mapping for starrocks pipeline connector [bug][pipeline-connector][starrocks] Optimize char type mapping for starrocks pipeline connector Dec 21, 2023
@banmoy
Copy link
Contributor

banmoy commented Dec 21, 2023

LGTM. cc @lvyanquan PTAL

Copy link
Contributor

@lvyanquan lvyanquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@Jiabao-Sun Jiabao-Sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @WholeWorld-Timothy for this contribution.
Thanks @banmoy and @lvyanquan for the review.
+1

@Jiabao-Sun Jiabao-Sun merged commit 1b64302 into apache:master Jan 2, 2024
17 checks passed
lvyanquan pushed a commit that referenced this pull request Jan 18, 2024
…cks pipeline connector (#2895)

(cherry picked from commit 1b64302)
joyCurry30 pushed a commit to joyCurry30/flink-cdc-connectors that referenced this pull request Mar 22, 2024
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

Successfully merging this pull request may close these issues.

None yet

4 participants