当前位置:网站首页>Debezium系列之:修改源码支持drop foreign key if exists fk
Debezium系列之:修改源码支持drop foreign key if exists fk
2022-07-05 18:45:00 【目标博客专家】
Debezium系列之:修改源码支持drop foreign key if exists fk
一、drop已经存在的外键报错
- io.debezium.text.ParsingException: DDL statement couldn’t be parsed.
- no viable alternative at input ‘ALTER TABLE mytable DROP FOREIGN KEY IF’ at io.debezium.antlr.ParsingErrorListener.syntaxError(ParsingErrorListener.java:43)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
二、修改源码MySqlParser.g4
debezium-ddl-parser/src/main/antlr4/io/debezium/ddl/parser/mysql/generated/MySqlParser.g4
| DROP FOREIGN KEY uid ifExists?
边栏推荐
- 华为让出的高端市场,小米12S靠徕卡能抢到吗?
- [performance test] jmeter+grafana+influxdb deployment practice
- CDB 实例的启动与关闭
- Icml2022 | partial and asymmetric comparative learning of out of distribution detection in long tail recognition
- Simple query cost estimation
- Startup and shutdown of CDB instances
- Oracle Chinese sorting Oracle Chinese field sorting
- Low code practice of xtransfer, a cross-border payment platform: how to integrate with other medium-sized platforms is the core
- You can have both fish and bear's paw! Sky wing cloud elastic bare metal is attractive!
- Word查找红色文字 Word查找颜色字体 Word查找突出格式文本
猜你喜欢
Overview of video self supervised learning
跨境支付平台 XTransfer 的低代码实践:如何与其他中台融合是核心
决策树与随机森林
Analysis of postman core functions - parameterization and test report
块编辑器如何选择?印象笔记 Verse、Notion、FlowUs
彻底理解为什么网络 I/O 会被阻塞?
出海十年:新旧接力,黑马崛起
Oracle 中文排序 Oracle 中文字段排序
技术分享 | 接口测试价值与体系
2022 latest Android interview written examination, an Android programmer's interview experience
随机推荐
Mathematical modeling of oil pipeline layout MATLAB, mathematical model of oil pipeline layout
EasyCVR授权到期页面无法登录,该如何解决?
The monthly list of Tencent cloud developer community videos was released in May 2022
集合处理的利器
Oracle 中文排序 Oracle 中文字段排序
图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
深入底层C源码讲透Redis核心设计原理
小程序 修改样式 ( placeholder、checkbox的样式)
Rse2020/ cloud detection: accurate cloud detection of high-resolution remote sensing images based on weak supervision and deep learning
输油管的布置数学建模matlab,输油管布置的数学模型
Windows Oracle open remote connection Windows Server Oracle open remote connection
Is it safe to make fund fixed investment on access letter?
Postman核心功能解析 —— 参数化和测试报告
中文版Postman?功能真心强大!
UDF implementation of Dameng database
max31865模块RTD测温注意事项
2022最新中高级Android面试题目,【原理+实战+视频+源码】
The basic grammatical structure of C language
尚硅谷尚优选项目教程发布
The era of Web3.0 is coming. See how Tianyi cloud storage resources revitalize the system to enable new infrastructure (Part 2)