全量同步失败报错,关键词“date/time field value out of range”
场景描述
全量同步期间DRS任务报错,同步日志界面提示:service DATAMOVE failed, cause by: retry structures failed events=the fail structures are [type=table_structure, index=%s, schema_name=%s, object_name=%s]reason:[ERROR: date/time field value out of range: '0000-00-00 00:00:00']
可能原因
GaussDB(DWS)不支持0000-00-00 00:00:00时间。
解决方案
- 由于目标库限制不支持此场景,可以修改源库表列名。
- 修改完成后,在任务列表中,单击任务对应操作列的“续传”,重新提交任务。