null字段添加Nullable配置,否则同步mysql回报nil异常;增加bit类型go处理#93
Open
googlefan wants to merge 4 commits into
Open
Conversation
Contributor
|
这是个很好的建议,但是一些配置文件的改动是因为什么呢 |
Author
上传多了好像,那些是我自己 用的配置,我应该只想推第一个commit 的4a237dc474065ead6a7a6fc8572d418a7136b5ce |
Collaborator
|
这是个问题 但是Nullable类型可能会导致clickhouse 查询新能下降。 |
Author
|
嗯是的,官方文档确实说了 不建议使用Nullable,但是这应该从源头数据做保证,或者说同步时候数据清洗一遍; |
Collaborator
|
希望你能补充一些测试 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在同步mysql数据时候,发现当字段可以为Null,并且数据是Null的时候,dm 数据同步报nil异常的异常
通过如下代码可以解决