项目场景:
实时平台最初设计方案,目的数据库为clickhouse,在使用过程中遇到的问题.
问题描述及解决方案
1.ReplacingMergeTree去重字段数据类型约束
must be of an integer type or of type Date or DateTime
2.建分片表找不到cluster
原因:
在metrika-shard.xml文件中指明了clickhouse_remote_server,由于版本问题现需要在config.xml文件中的remote_servers标签中指明
问题解决:
在remote_servers标签上添加该参数
3.flink轮询写入local表(写入跨过分布式表)
参见文章(可实现):
https://blog.csdn.net/u011462328/article/details/115355713
记得点赞收藏奥,关注不迷路~