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

canal时间字段 #5250

Open
LI8888wdqwe opened this issue Aug 23, 2024 · 1 comment
Open

canal时间字段 #5250

LI8888wdqwe opened this issue Aug 23, 2024 · 1 comment

Comments

@LI8888wdqwe
Copy link

Question

一个我搞不明白的问题,canaladapter配置同步,比如同步一个time字段,第一次配置可以同步上去,但是canal重启后,这个事件字段就设置的是空。就一直设置不上值。当我在配置里把这个字段加上别名,比如 time as times,times就可以同步上了,但是一重启后times也会被设置为空。help help 求原因和解决办法!!!!

@LI8888wdqwe
Copy link
Author

解决了,但是我用的很笨的方法,把这些时间字段类型从date换成了keyword。路过的大佬们,有没有其他办法,原因还是不清楚。

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