Skip to content

CDC Stream API deserialize column type like bigint(20) unsigned Covert to wrong type #798

@guixin

Description

@guixin

Describe the bug
my table defined some column type like bigint(20) unsigned. I got wrong value by JsonDebeziumDeserializationSchema

Environment :

  • Flink version : flink 1.13
  • Flink CDC version: 2.2-snapshot
  • Database and version: mysql 5.7

To Reproduce
use com.ververica.cdc.connectors.mysql.source.MySqlSource to build source

Additional Description
If applicable, add screenshots to help explain your problem.

this is my test table,and dataset

image

my map operator get string like this. order_id column and fee column is wrong value

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions