Skip to content
Discussion options

You must be logged in to vote

Hi @yuyii, the JDBC properties should not work since MySQL CDC captures changing data by parsing BinLog instead of establishing JDBC connection. I could reproduced this problem with the following setup:

# MySQL source schema:
CREATE TABLE fallen_angel(
     ID VARCHAR(177) NOT NULL,
     BOOLEAN_COL BOOLEAN, 
     TINYINT_COL TINYINT(1),
     PRIMARY KEY (ID)
);

# StarRocks auto-created schema:
Field           Type            Null    Key     Default Extra
ID              varchar(531)    NO      true    NULL       
BOOLEAN_COL     boolean         YES     false   NULL    
TINYINT_COL     boolean         YES     false   NULL 

I believe it's a CDC type mapping issue, and created a JIRA ticket

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@jeeinn
Comment options

Comment options

You must be logged in to vote
2 replies
@yuyii
Comment options

@yuxiqian
Comment options

yuxiqian May 8, 2024
Collaborator

Answer selected by yuyii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants