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

ERROR-全量同步过程中出现错误 #19

Open
oslet opened this issue Jan 4, 2021 · 2 comments
Open

ERROR-全量同步过程中出现错误 #19

oslet opened this issue Jan 4, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@oslet
Copy link

oslet commented Jan 4, 2021

环境: centos 7 | clickhouse ClickHouse server version 20.12.5 | cds 最新版(建议添加一个版本号, commitid: 28c51c5)

现像: 在配置好全量同步,执行同步过程出现如下错误:

{"@timestamp":"2021-01-04T17:03:44.268+08","level":"error","content":"mysqltypeconv.go:59 sql: Scan error on column index 4, name \"Default\":
 converting NULL to string is unsupported"}

可能原因: 建表语句指定了字段类型, 导致NULL转换失败

问题:

* 建表语句是否可支持 Nullable
* 全库同步需要选中所有表 ?
@org0000h org0000h added the enhancement New feature or request label Feb 18, 2021
@googlefan
Copy link

这个问题解决了么?

@googlefan
Copy link

已提交合并请求,可以解决该问题,本地测试通过
4a237dc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants