当前位置:网站首页>现在mysql cdc2.1版本在解析值为0000-00-00 00:00:00的datetime类
现在mysql cdc2.1版本在解析值为0000-00-00 00:00:00的datetime类
2022-07-04 21:42:00 【阿里云问答】
现在mysql cdc2.1版本在解析值为0000-00-00 00:00:00的datetime类型数据时,会将数据转换为1970-01-01T00:00,我看2020年的时候就有人遇到类似的问题,现在有什么好的解决办法么
采纳答案1:
根因是这个东西 0000-00-00 00:00:00 是个非法时间值,标准里不支持,社区也没人去兼容,所以UDF转是合适的(此答案整理自Flink CDC 社区)
边栏推荐
- The drawing method of side-by-side diagram, multi row and multi column
- HDU - 2859 Phalanx(DP)
- Interview question 01.01 Determine whether the character is unique
- Flink1.13 SQL basic syntax (I) DDL, DML
- TCP protocol three times handshake process
- PostgreSQL基本结构——表
- [advanced C language] array & pointer & array written test questions
- HDU - 2859 Phalanx(DP)
- 力扣_回文数
- Interpreting the development of various intelligent organizations in maker Education
猜你喜欢

并发优化总结

什么是商业智能(BI),就看这篇文章足够了

Radio and television Wuzhou signed a cooperation agreement with Huawei to jointly promote the sustainable development of shengteng AI industry

QT—绘制其他问题

Visual task scheduling & drag and drop | scalph data integration based on Apache seatunnel

Enabling digital economy Fuxin software attends the BRICs high level Forum on Sustainable Development

能源势动:电力行业的碳中和该如何实现?

How to implement Devops with automatic tools

Xiangjiang Kunpeng joined the shengteng Wanli partnership program and continued to write a new chapter of cooperation with Huawei

Exclusive interview of open source summer | new committer Xie Qijun of Apache iotdb community
随机推荐
New intersectionobserver usage notes
Open3D 曲面法向量计算
HDU - 2859 Phalanx(DP)
gtest从一无所知到熟练使用(4)如何用gtest写单元测试
Analyzing the maker space contained in steam Education
GTEST from ignorance to proficiency (3) what are test suite and test case
【米哈游2023届秋招】开启【校招唯一专属内推码EYTUC】
1807. Replace the parentheses in the string
解决异步接口慢导致的数据错乱问题
Application practice | Shuhai supply chain construction of data center based on Apache Doris
How to implement Devops with automatic tools
智洋创新与华为签署合作协议,共同推进昇腾AI产业持续发展
从RepVgg到MobileOne,含mobileone的代码
常用的开源无代码测试工具
Which securities company is better to open an account? Is online account opening safe
HDU - 2859 Phalanx(DP)
玩转gRPC—深入概念与原理
Caduceus从未停止创新,去中心化边缘渲染技术让元宇宙不再遥远
1807. 替换字符串中的括号内容
并列图的画法,多排多列