-
```
CREATE DEFINER=`bcadmin`@`%` TRIGGER `host_id_constraint` BEFORE INSERT ON `host` FOR EACH ROW begin
declare next_id int;
declare max_id int;
declare error_msg varchar(100);
set m…
-
We've been using play 2.8.1 with play-ebean 6.0.0 and java 1.8 for years now.
Recently, we decided to upgrade to play 3.0.5, play-ebean 8.3.0 and java 21, but it's been a nightmare due to the play ar…
-
**Bug Description**
When using the `clickhouse.database.override.map` configuration, the connector should map the source database name to a new target database name. However, when `enable.snapshot.dd…
-
when using`sqlparser.ParseStrictDDL`
I receive an error
```
syntax error at position 290 near 'foreign'
```
when parsing valid mySQL:
```SQL
CREATE TABLE `comments` (
`id` INT UNSIGNE…
thurt updated
3 weeks ago
-
**Describe the bug**
The DDL queue will go down systematically after downloading two or three issues and can only be recovered by restarting mylar and restarting the last download once mylar comes ba…
-
Hello, I am getting following error:
I am using version `0.11.6` . I do not see discrepancies between struct schema and migration. I have limited size of the batch to be inserted to 5000 rows and s…
-
**Description**
DDL that have delimiter inside comment fail to parse:
```
CREATE TABLE t (status tinyint COMMENT '1=active; 0=inactive');
```
fails with:
```
2024-09-20T15:18:37.116392Z WARN taki…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Category of Bug / Issue
TranspileParserError
### Current Behavior
I have a .sql file with 10 scripts (DDL,DM…
-
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
1、with tidb_enable_dist_task='off'
2、run sysbench
3、add index for on…
-
**Describe the solution you'd like**
从sql语句中直接parse出表结构
parser参考
https://docs.rs/sqlparser/0.10.0/sqlparser/