Commit Graph

619 Commits

Author SHA1 Message Date
Debezium Builder
5ce25f2cfe [maven-release-plugin] prepare release v2.4.0.Beta1 2023-08-29 11:41:08 +00:00
harveyyue
6f5732b707 DBZ-6821 Dbz crashes on DDL statement (non Latin chars in variables) 2023-08-21 00:15:23 -04:00
ani-sha
ffda5916aa DBZ-6724 Modify JOIN clause to support unstructured joins 2023-08-18 10:54:28 +02:00
ani-sha
445669b990 DBZ-6803 Add REPEAT function for MySQL 2023-08-18 10:40:43 +02:00
harveyyue
bb579983ca DBZ-6794 Dbz crashed on parsing MySQL DDL statement (SELECT 1 + @sum:=1 AS ss;) 2023-08-14 09:01:36 +02:00
Chris Cranford
7552068515 DBZ-6780 Relax lexicon rule for MySQL REAL_LITERAL 2023-08-10 07:17:07 +02:00
Debezium Builder
3c72f071b0 [maven-release-plugin] prepare for next development iteration 2023-08-09 10:33:06 +00:00
Debezium Builder
915c465440 [maven-release-plugin] prepare release v2.4.0.Alpha2 2023-08-09 10:33:06 +00:00
Chris Cranford
dc23f18456 DBZ-6782 Properly solve XMLTYPE data types during DDL changes 2023-08-09 06:46:31 +02:00
Jochen Schalanda
b69efee5ba DBZ-6736 Add support for ALTER TABLE IF EXISTS
MariaDB supports conditionally altering tables with the `IF EXISTS` clause.

Refs
- https://mariadb.com/kb/en/alter-table/
- https://github.com/antlr/grammars-v4/pull/3642
2023-08-01 11:39:05 -04:00
Chris Cranford
ea536a27db DBZ-6716 Support Oracle DROP USER statements 2023-07-31 03:03:03 -04:00
mfvitale
b8462e8fe0 DBZ-6599 Support single line statement without semicolon ending 2023-07-20 10:10:16 -04:00
Chris Cranford
1b265c84bc DBZ-6677 Support altering an Oracle table's column visibility 2023-07-18 09:46:27 +02:00
Debezium Builder
267dfda8a6 [maven-release-plugin] prepare for next development iteration 2023-07-17 10:40:52 +00:00
Debezium Builder
0d3cef6a29 [maven-release-plugin] prepare release v2.4.0.Alpha1 2023-07-17 10:40:52 +00:00
Vojtech Juranek
4b0290a0b1 DBZ-6651 Avoid confusing label and IPv6 address
Some label combined with some keywords (when written without a space
in between, which is valid for MySQL) can look like beginning of an IPv6
address, e.g.

    aaa:BEGIN

is currectly prased as IPv6 address `aaa:be` and leads to a parsing
failure.

Make parsing of IPv6 address more robust and require at least two `:`
to make sure there is no confusion with labels.
2023-07-13 09:56:39 +02:00
mfvitale
7811d86edf DBZ-3925 Add support for FLUSH FIREWALL_RULES for Azure Database for MySQL Single Server instance 2023-07-05 16:34:26 -04:00
harveyyue
e211fe7d06 DBZ-6622 MySQL ALTER USER with RETAIN CURRENT PASSWORD fails with parsing exception 2023-06-30 03:09:49 -04:00
mfvitale
a386df3898 DBZ-6613 Support ARRAY keyword in declare statement 2023-06-28 13:48:48 -04:00
Vojtech Juranek
0163120bc5 DBZ-6590 Support CAST AS (UN)SIGNED INT
CLI example:

    > SELECT CAST('1' AS UNSIGNED INT);
    +---------------------------+
    | CAST('1' AS UNSIGNED INT) |
    +---------------------------+
    |                         1 |
    +---------------------------+
2023-06-21 12:09:43 +02:00
Vojtech Juranek
cc6aa0e20f DBZ-6590 Support MySQL CAST AS DEC
CLI example:

    > SELECT CAST('1' AS DEC);
    +------------------+
    | CAST('1' AS DEC) |
    +------------------+
    |                1 |
    +------------------+
2023-06-21 12:09:43 +02:00
Vojtech Juranek
47a1a99293 DBZ-6585 Support dropping multiple Oracle partitions 2023-06-21 11:23:05 +02:00
Debezium Builder
60f730d383 [maven-release-plugin] prepare for next development iteration 2023-06-20 13:21:31 +00:00
Debezium Builder
150396e4c8 [maven-release-plugin] prepare release v2.3.0.Final 2023-06-20 13:21:31 +00:00
harveyyue
17be519d1f DBZ-6519 Parse mysql table name failed which ending with backslash 2023-06-09 14:33:19 +02:00
Debezium Builder
5d1b00588a [maven-release-plugin] prepare for next development iteration 2023-06-09 09:23:38 +00:00
Debezium Builder
d1e6107517 [maven-release-plugin] prepare release v2.3.0.CR1 2023-06-09 09:23:37 +00:00
Tommy Karlsson
567931d1ba DBZ-6537 Allow "national" as identifier in MySql 2023-06-09 06:10:38 +02:00
ani-sha
135b64ee52 DBZ-6508 Allow LIST_VALUES_CLAUSE to use negative numbers 2023-06-08 14:58:50 +02:00
蔡灿材
23de00ca95 DBZ-6435 MySql in debezium-parser-ddl does not support table keyword parsing 2023-06-07 16:37:15 +02:00
蔡灿材
35a479b228 DBZ-6435 MySql in debezium-parser-ddl does not support table keyword parsing 2023-06-07 16:37:15 +02:00
蔡灿材
b5ba2cf3fb DBZ-6435 MySql in debezium-parser-ddl does not support table keyword parsing 2023-06-07 16:37:15 +02:00
ani-sha
3993f3eaad DBZ-6507 Add MATERIALIZED VIEW LOG clause 2023-06-01 08:42:21 -04:00
Debezium Builder
aa5b2131fc [maven-release-plugin] prepare for next development iteration 2023-05-26 10:35:20 +00:00
Debezium Builder
9cc9b3c29a [maven-release-plugin] prepare release v2.3.0.Beta1 2023-05-26 10:35:20 +00:00
ani-sha
f20fe32b4f DBZ-6492 Support logical_replication_clause in Oracle 2023-05-23 08:30:36 +02:00
ani-sha
6d404d242e DBZ-6479 Add missing privileges as per MySQL 8.0.x 2023-05-23 08:25:49 +02:00
Jochen Schalanda
bdb43a2235 DBZ-6459 [MariaDB] Add support for userstat plugin keywords
The MariaDB User Statistics (userstat) plugin adds 4 new keywords:

`USER_STATISTICS`, `CLIENT_STATISTICS`, `INDEX_STATISTICS`, and `TABLE_STATISTICS`

Additionally, it adds unusual variants of the `SHOW` and `FLUSH` statements which aren't covered by the MariaDB SQL grammar yet, for example

```
SHOW TABLE_STATISTICS;
FLUSH USER_STATISTICS;
```

See also:

- https://mariadb.com/kb/en/user-statistics/
- https://mariadb.com/kb/en/show-client-statistics/
- https://mariadb.com/kb/en/show-index-statistics/
- https://mariadb.com/kb/en/show-table-statistics/
- https://mariadb.com/kb/en/show-user-statistics/

Refs https://github.com/antlr/grammars-v4/pull/3400
2023-05-15 14:56:36 +02:00
Debezium Builder
a5b44767bc [maven-release-plugin] prepare for next development iteration 2023-05-11 11:05:24 +00:00
Debezium Builder
1b1a7531f2 [maven-release-plugin] prepare release v2.3.0.Alpha1 2023-05-11 11:05:24 +00:00
Chris Cranford
1a44431114 DBZ-6442 Support FORCE-clause in DROP TABLE 2023-05-10 12:10:15 +02:00
gongchanghua
38cdcb2152 DBZ-6446 Support shrink clause for Oracle index partition 2023-05-09 12:15:15 +02:00
caicancai
473925c0a5 DBZ-6401 MySql in debezium-parser-ddl :The inserted sql statement reports an error 2023-05-01 10:27:28 -04:00
gongchanghua
a836a6ee9c DBZ-6386 Support shrink clause for Oracle table partition 2023-04-27 09:10:13 -04:00
Debezium Builder
bb1b79f3bd [maven-release-plugin] prepare for next development iteration 2023-04-20 09:09:43 +02:00
Debezium Builder
5483b4de99 [maven-release-plugin] prepare release v2.2.0.Final 2023-04-20 09:09:43 +02:00
Jiri Pechanec
12bec973ff DBZ-6331 Flag as MariaDB only grammar 2023-04-19 09:30:18 +02:00
ani-sha
d4eec9f6da DBZ-6331 Add support for WITH SYSTEM VERSIONING table option 2023-04-19 09:30:18 +02:00
caicancai
514afb72eb DBZ-6336 MySql in debezium-parser-ddl does not support with keyword parsing 2023-04-18 07:59:25 +02:00
Debezium Builder
976a47a3a3 [maven-release-plugin] prepare for next development iteration 2023-04-14 08:46:06 +00:00
Debezium Builder
1ca8399e8b [maven-release-plugin] prepare release v2.2.0.CR1 2023-04-14 08:46:06 +00:00
Jochen Schalanda
917a80c04a DBZ-6316 Add variant of ALTER TABLE ADD UNIQUE IF NOT EXISTS
Refs https://github.com/antlr/grammars-v4/pull/3085
2023-04-13 10:28:59 +02:00
Jochen Schalanda
30102b9fa4 DBZ-6316 Add support for Table Value Constructors
Refs https://github.com/antlr/grammars-v4/pull/3076
Refs https://github.com/antlr/grammars-v4/pull/3077
2023-04-13 10:28:59 +02:00
Jochen Schalanda
054cfb99b8 DBZ-6316 Support all privileges of MariaDB 10.6 in MySQL grammar
Refs https://github.com/antlr/grammars-v4/pull/3075
2023-04-13 10:28:59 +02:00
mfvitale
60448e9c79 DBZ-6314 Add revoke statement for Oracle parser 2023-04-05 10:01:00 -04:00
Debezium Builder
5c650fd054 [maven-release-plugin] prepare for next development iteration 2023-03-31 10:00:16 +00:00
Debezium Builder
68ffc4833b [maven-release-plugin] prepare release v2.2.0.Beta1 2023-03-31 10:00:16 +00:00
Anisha Mohanty
c20ab276d6 DBZ-6255 Add keyword UUID to keywordsCanBeId rule 2023-03-30 16:21:30 +02:00
ani-sha
a8324bc21e DBZ-6255 Support UUID data type for MariaDB 2023-03-30 16:21:30 +02:00
Chris Cranford
f9bb5eb82f DBZ-6221 Correctly interpret CHARACTER/CHARACTER VARYING data types while streaming 2023-03-28 14:45:12 +02:00
sondn
7a70eddf48 DBZ-6250 Missing a keyword which can be used as column name 2023-03-27 10:36:54 +02:00
mfvitale
4980f94a31 DBZ-6243: Fix MySql parser to permit alias in single delete statements 2023-03-23 08:26:54 +01:00
Jiri Pechanec
a88dcd4488 DBZ-6211 Corrected formatting 2023-03-22 10:07:15 +01:00
ani-sha
1fb8cfcb7a DBZ-6211 Add missing privileges as per MySQL 8.x 2023-03-22 10:07:15 +01:00
ani-sha
7f5b45a890 DBZ-6124 Add alterByAlterCheckTableConstraint rule for ALTER TABLE 2023-03-16 11:30:39 +01:00
Chris Cranford
88c6419dae DBZ-6124 Restore old rule, rearranged dataType rules 2023-03-16 11:30:39 +01:00
Anisha Mohanty
3b1a43edf9 DBZ-6124 Modify CREATE and ALTER TABLE rules 2023-03-16 11:30:39 +01:00
ani-sha
d34891e1e9 DBZ-6194 Use CHARSET for alterByConvertCharset clause 2023-03-16 08:01:12 +01:00
ani-sha
1847c9b116 DBZ-6188 Allow optional uidList for partitionFunctionKey rule 2023-03-16 07:56:38 +01:00
Jiri Pechanec
97ce3fa09e DBZ-6186 Mark as MariaDB only 2023-03-09 08:38:31 +01:00
Nir Levy
c6ca9125d9 DBZ-6186: Add support for GRANT DELETE HISTORY in mariadb 2023-03-09 08:38:31 +01:00
Debezium Builder
55d65e9618 [maven-release-plugin] prepare for next development iteration 2023-03-08 11:38:17 +00:00
Debezium Builder
6d183c3dc1 [maven-release-plugin] prepare release v2.2.0.Alpha3 2023-03-08 11:38:16 +00:00
Debezium Builder
2245ceda44 [maven-release-plugin] prepare for next development iteration 2023-02-16 11:28:25 +00:00
Debezium Builder
20f3b16e8a [maven-release-plugin] prepare release v2.2.0.Alpha2 2023-02-16 11:28:25 +00:00
Anisha Mohanty
232579a236 DBZ-6016 Add CLUSTERING KEY constraint for TOKUDB 2023-01-26 07:36:17 +01:00
Anisha Mohanty
e4a94d55dd DBZ-6020 ALTER and CREATE USER allow ROLE option 2023-01-25 09:00:50 +01:00
Chris Cranford
ca4c61da4c DBZ-6031 Support compression/logging clauses after LOB storage clauses 2023-01-24 14:30:09 +01:00
Anisha Mohanty
a8716fcb61 DBZ-6019 Role REVOKE with user-like role name 2023-01-24 14:24:17 +01:00
Debezium Builder
04f5291a2d [maven-release-plugin] prepare for next development iteration 2023-01-19 11:32:10 +00:00
Debezium Builder
027527963e [maven-release-plugin] prepare release v2.2.0.Alpha1 2023-01-19 11:32:10 +00:00
Mark Lambert
f0a1fa8a67 DBZ-4669 Use the newer version of plugins to consolidate remaining duplicates plugin versions 2023-01-11 06:44:53 +01:00
Debezium Builder
cf1720e4cb [maven-release-plugin] prepare for next development iteration 2022-12-22 10:11:54 +00:00
Debezium Builder
b4ea9b46cd [maven-release-plugin] prepare release v2.1.0.Final 2022-12-22 10:11:53 +00:00
Raul Estrada
f7579237fe DBZ-3575 JSON_TABLE expression 2022-12-21 12:34:17 +01:00
Raul Estrada
c1493c8e20 DBZ-3575 Comments review 2022-12-21 12:34:17 +01:00
Raul Estrada
282717fa55 DBZ-3575 Implement support for JSON_TABLE in MySQL parser 2022-12-21 12:34:17 +01:00
Raul Estrada
f5d5aefa65 DBZ-3575 Implement support for JSON_TABLE in MySQL parser 2022-12-21 12:34:17 +01:00
Raul Estrada
9ca3498cff DBZ-3575 Implement support for JSON_TABLE in MySQL parser 2022-12-21 12:34:17 +01:00
Raul Estrada
863e00e43b DBZ-3575 Implement support for JSON_TABLE in MySQL parser 2022-12-21 12:34:17 +01:00
Debezium Builder
177a60a9d3 [maven-release-plugin] prepare for next development iteration 2022-12-16 09:33:38 +00:00
Debezium Builder
f805db8c3c [maven-release-plugin] prepare release v2.1.0.Beta1 2022-12-16 09:33:38 +00:00
Raul Estrada
dd96ccc27d DBZ-5888 MariaDB-grammar 2022-12-14 14:42:29 +01:00
Raul Estrada
17c99fadd2 DBZ-3576 Implement window function in MySQL parser 2022-12-14 08:28:11 +01:00
Nir Levy
39393299e4 DBZ-5904 Suppport INSERT INTO statements with dots in column names 2022-12-08 13:04:41 +01:00
Debezium Builder
81896ed334 [maven-release-plugin] prepare for next development iteration 2022-11-30 07:52:24 +00:00
Debezium Builder
1aac97b87c [maven-release-plugin] prepare release v2.1.0.Alpha2 2022-11-30 07:52:23 +00:00
Anisha Mohanty
68412ce15f DBZ-5876 ATTRIBUTE token for CREATE_USER and ALTER_USER clause 2022-11-29 13:21:26 +01:00
Anisha Mohanty
5c2c0f54be DBZ-5836 COMMENT string for CREATE_USER & ALTER_USER clause 2022-11-23 08:46:12 +01:00
Debezium Builder
e311dd1a67 [maven-release-plugin] prepare for next development iteration 2022-11-10 13:29:06 +00:00