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

MySQL datetime type data is not being synchronized in StarRocks. #12

Open
chzzk-cheese opened this issue Dec 21, 2023 · 2 comments
Open

Comments

@chzzk-cheese
Copy link

chzzk-cheese commented Dec 21, 2023

Issue : There's an issue where MySQL datetime type data is being synchronized as null in StarRocks.

There is create_ymdt and update_ymdt data in topic.

	"create_ymdt": 1702407600000,
        "update_ymdt": 1702407600000,

But those data is being synchronized as null in StarRocks.

@zaorangyang
Copy link
Contributor

@chzzk-cheese The MySQL datetime field obtained by the Kafka connector is a timestamp in milliseconds. You cannot directly write a millisecond timestamp into the Starrocks datetime column. You need to use the from_unixtime function to perform a conversion.

@chzzk-cheese
Copy link
Author

@zaorangyang Can you update debezium version from 1.8.1 to 2.4.1 Final to allow me use TimezoneConverter ?
https://debezium.io/documentation/reference/nightly/transformations/timezone-converter.html

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

2 participants