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

MySQL增量同步到clickhouse带有dateTime字段存在问题 #116

Closed
liufu1986007 opened this issue Apr 20, 2022 · 2 comments
Closed

MySQL增量同步到clickhouse带有dateTime字段存在问题 #116

liufu1986007 opened this issue Apr 20, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@liufu1986007
Copy link

MySQL增量同步到clickhouse带有dateTime字段存在问题
image

@liufu1986007
Copy link
Author

liufu1986007 commented Apr 22, 2022

CREATE TABLE `as_alarm_type`  (
  `id` bigint NOT NULL COMMENT '类型标识',
  `category_id` bigint NULL DEFAULT 0 COMMENT '类别标识',
  `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '类型名称',
  `sort` int NULL DEFAULT NULL COMMENT '排序',
  `create_user` bigint NULL DEFAULT NULL COMMENT '创建人',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间 ',
  `update_user` bigint NULL DEFAULT NULL COMMENT '修改人',
  `update_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `status` tinyint NULL DEFAULT NULL COMMENT '状态\r\n            ',
  `is_deleted` tinyint NULL DEFAULT 0 COMMENT '是否已删除',
  `tenant_id` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户id',
  `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'code编码',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '类型' ROW_FORMAT = DYNAMIC;


INSERT INTO `as_alarm_type` VALUES (1002, 1, '抽烟', NULL, NULL, NULL, '2021-09-27 09:54:32', NULL, NULL, NULL, 0, '111111', '111');

@baisui1981 baisui1981 added bug Something isn't working 3.6.0 labels Apr 22, 2022
@baisui1981
Copy link
Member

Complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants