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

金额数据精度丢失造成差0.01的情况 #224

Open
chc123456 opened this issue Dec 1, 2022 · 2 comments
Open

金额数据精度丢失造成差0.01的情况 #224

chc123456 opened this issue Dec 1, 2022 · 2 comments

Comments

@chc123456
Copy link

Version:

  • Bifrost Version: v1.8.8-release

Describe the bug

数据源是Mysql 5.6 有部分金额数据 字段类型是 decimal(18,2)
目标使用的Clickhouse 自动建表 类型为 Decimal(18,2)
同步数据中存在部分数据精度丢失 如 2.99 会变成 2.98 这样的情况

@chc123456
Copy link
Author

跟了程序 是使用的clickhouse-go的驱动问题,修改clickhouse-plugin升级clickhouse-go的驱动为2.x的版本后可以解决此问题

This was referenced Dec 9, 2022
@jc3wish
Copy link
Member

jc3wish commented Jul 6, 2024

#204

不需要升级驱动,已经支持成功处理

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