Iuckyriver opened a new issue, #8974:
URL: https://github.com/apache/seatunnel/issues/8974

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   如下表:有十条数据,且created字段都是0000-00-00 00:00:00
   CREATE TABLE `cfg_goods_unit` (
     `rec_id` smallint(6) NOT NULL AUTO_INCREMENT,
     `name` varchar(20) NOT NULL COMMENT '单位名称',
     `deleted` datetime DEFAULT NULL,
     `is_disabled` tinyint(1) NOT NULL DEFAULT '0' COMMENT '禁用',
     `remark` varchar(40) NOT NULL DEFAULT '' COMMENT '备注',
     `modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE 
CURRENT_TIMESTAMP,
     `created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
     PRIMARY KEY (`rec_id`),
     UNIQUE KEY `UK_cfg_goods_unit` (`name`,`deleted`)
   ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 
COMMENT='基本货品单位,库存用的单位,个,件';
   
   使用自带引擎mysql cdc 到mysql jdbc,一条数据也不会写入。
   假设这十条数据有一条不为0000-00-00 00:00:00,则可以写入全部十条数据
   
   ### SeaTunnel Version
   
   2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   mysql-cdc -> mysql jdbc
   ```
   
   ### Running Command
   
   ```shell
   seatunnel
   ```
   
   ### Error Exception
   
   ```log
   数据缺失
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to