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

time(6) type loss precision #149

Open
welyss opened this issue Jul 12, 2024 · 0 comments
Open

time(6) type loss precision #149

welyss opened this issue Jul 12, 2024 · 0 comments

Comments

@welyss
Copy link

welyss commented Jul 12, 2024

Hi,
+----+----------+-----------------+
| id | t | tt |
+----+----------+-----------------+
| 1 | 00:00:01 | 00:00:01.000001 |
| 2 | 00:01:06 | 00:00:16.000024 |
+----+----------+-----------------+
--- tt column deserialize only '00:00:16' in int, fraction '000024' loss
Code in method deserializeDatetimeV2 of AbstractRowsEventDataDeserializer.java maybe wrong,
I refrence the another project in github named 'canal', And replace the method deserializeDatetimeV2 with someting similar in 'canal', then it worked, but i don't understand the detail, just copy and explain the similar code.

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

1 participant