Closed zengchen00 closed 4 months ago
flink-doris-connector-1.17-1.5.2.jar 同步脚本已经加上了 --ignore-default-value 参数
mysql 建表的语句的字段有默认值 create_time datetime(3) DEFAULT CURRENT_TIMESTAMP(3) 同步到doris 的建表语句字段: create_time DATETIMEV2(3) DEFAULT 'CURRENT_TIMESTAMP(3)' COMMENT '' 然后就报错了:
create_time datetime(3) DEFAULT CURRENT_TIMESTAMP(3)
create_time DATETIMEV2(3) DEFAULT 'CURRENT_TIMESTAMP(3)' COMMENT ''
mysql 建表的语句的字段有默认值 create_time datetime(3) DEFAULT CURRENT_TIMESTAMP(3) 同步到doris 的建表语句字段,不要加 DEFAULT: create_time DATETIMEV2(3)
create_time DATETIMEV2(3)
No response
使用 flink-doris-connector-1.17-1.5.1.jar 就正常了
Search before asking
Version
flink-doris-connector-1.17-1.5.2.jar 同步脚本已经加上了 --ignore-default-value 参数
What's Wrong?
mysql 建表的语句的字段有默认值
create_time datetime(3) DEFAULT CURRENT_TIMESTAMP(3)
同步到doris 的建表语句字段:create_time DATETIMEV2(3) DEFAULT 'CURRENT_TIMESTAMP(3)' COMMENT ''
然后就报错了:What You Expected?
mysql 建表的语句的字段有默认值
create_time datetime(3) DEFAULT CURRENT_TIMESTAMP(3)
同步到doris 的建表语句字段,不要加 DEFAULT:create_time DATETIMEV2(3)
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct