yux created FLINK-35308:
---------------------------

             Summary: StarRocks sink maps TINYINT type to BOOLEAN incorrectly
                 Key: FLINK-35308
                 URL: https://issues.apache.org/jira/browse/FLINK-35308
             Project: Flink
          Issue Type: Bug
          Components: Flink CDC
            Reporter: yux


In MySQL -> StarRocks pipeline job, the following MySQL source table schema:


CREATE TABLE fallen_angel(
     ID VARCHAR(177) NOT NULL,
     BOOLEAN_COL BOOLEAN, 
     TINYINT_COL TINYINT(1),
     PRIMARY KEY (ID)
);

will be mapped to StarRocks sink as follows:


Field           Type            Null    Key     Default Extra
ID              varchar(531)    NO      true    NULL       
BOOLEAN_COL     boolean         YES     false   NULL    
TINYINT_COL     boolean         YES     false   NULL 



where the TINYINT_COL's type is mapped to BOOLEAN, wrongly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to