Commit Graph

659 Commits

Author SHA1 Message Date
Ilyas Ahsan
bd0d858fc5 DBZ-7360 Resolve DDL Parser in Oracle Alter Table
DBZ-7360 Resolve DDL Parser in Oracle Alter Table
2024-01-26 09:39:49 -05:00
Debezium Builder
65d63ed42d [maven-release-plugin] prepare for next development iteration 2024-01-21 10:12:45 +00:00
Debezium Builder
485fa82a8f [maven-release-plugin] prepare release v2.6.0.Alpha1 2024-01-21 10:12:44 +00:00
Ilyas Ahsan
44c5feaffe DBZ-7259 Solve Parser Issue in MySQL Create Procedure
add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit e7de21dfd1296467b48e9c140eea2f6c025877a6.

Revert "DBZ-7259 Solve Parser Issue in MySQL Create Procedure"

This reverts commit 91976c8714e2604e9412bf3f66e30023a9bcad08.

DBZ-7259 Solve Parser Issue in MySQL Create Procedure

add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit cfb2cd61bf40628754a56b4613954febd778b206.

Revert "# This is a combination of 4 commits."

This reverts commit 6d53494e53c91d774f0b2b76dba4dbfed590d64e.

DBZ-7259 Solve Parser Issue in MySQL Create Procedure

add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit e7de21dfd1296467b48e9c140eea2f6c025877a6.

Revert "DBZ-7259 Solve Parser Issue in MySQL Create Procedure"

This reverts commit 91976c8714e2604e9412bf3f66e30023a9bcad08.

DBZ-7259 Solve Parser Issue in MySQL Create Procedure

add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit cfb2cd61bf40628754a56b4613954febd778b206.

Revert "# This is a combination of 4 commits."

This reverts commit 6d53494e53c91d774f0b2b76dba4dbfed590d64e.

resolve
2024-01-10 06:01:16 +01:00
Ilyas Ahsan
ecc68ed2a2 DBZ-7286 Support Several Table Specification in the "CREATE TABLE" in ORACLE. 2024-01-03 08:31:40 -05:00
ani-sha
9f9821c15e DBZ-7266 Use column name instead of regular id for partitioning clause 2024-01-02 12:29:43 +01:00
Debezium Builder
3853d20f44 [maven-release-plugin] prepare for next development iteration 2023-12-21 06:52:01 +00:00
Debezium Builder
5d35e9caaa [maven-release-plugin] prepare release v2.5.0.Final 2023-12-21 06:52:01 +00:00
Ilyas Ahsan
0c55e3885d DBZ-7283 Support for Creating EDITIONABLE or NONEDITIONABLE Packages
[DST-4782] Migrate goods from dedicated data vm to backup vm
2023-12-20 19:16:10 +01:00
ani-sha
c8b6a002a6 DBZ-7213 DBZ-7277 Add missing privileges for MySQL DDL 2023-12-20 09:32:41 +01:00
Ilyas Ahsan
f31f37a5c1 DBZ-7279 Add PL/SQL Parser for Create Table Memoptimize 2023-12-20 06:29:30 +01:00
Ilyas Ahsan
5a2bb0260b DBZ-7268 Add PL/SQL Parser for Alter Table Memoptimize
add MEMOPTIMIZE lexer

revert format
2023-12-18 14:54:37 +01:00
Debezium Builder
2c1def7241 [maven-release-plugin] prepare for next development iteration 2023-12-14 09:43:13 +00:00
Debezium Builder
ef8260f802 [maven-release-plugin] prepare release v2.5.0.CR1 2023-12-14 09:43:12 +00:00
Ilyas Ahsan
be20aba0c4 DBZ-7242 Add Grammar Oracle Truncate Cluster
Add end of line
2023-12-11 07:15:55 -05:00
Debezium Builder
0fd1c0dc9a [maven-release-plugin] prepare for next development iteration 2023-12-04 13:55:35 +00:00
Debezium Builder
3e2d75f0da [maven-release-plugin] prepare release v2.5.0.Beta1 2023-12-04 13:55:35 +00:00
Ilyas Ahsan
9b7205d0ef DBZ-7208 Handle Drop Tablespace in PL/SQL
Handle Drop Tablespace
2023-11-30 03:26:48 -05:00
Ilyas Ahsan
c93f99651c DBZ-7196 Add modify range_partitions to modify_table_partition rule in parsing PL/SQL
remove not necessary space

Fix parser
2023-11-29 23:56:08 -05:00
harveyyue
950dbfd2b7 DBZ-7189 Parsing MySQL indexes for JSON field fails, when casting is used with types double and float 2023-11-28 14:12:17 -05:00
ani-sha
05b34846a0 DBZ-7152 Allow singleUpdateStatement to use tableSources clause instead of only table name 2023-11-27 10:41:59 +01:00
harveyyue
2422df2fd0 DBZ-7140 Debezium-ddl-parser crashes on parsing MySQL DDL statement (specific UNION) 2023-11-14 20:32:27 -05:00
Debezium Builder
1521445908 [maven-release-plugin] prepare for next development iteration 2023-11-10 10:26:05 +00:00
Debezium Builder
6c6f6e9138 [maven-release-plugin] prepare release v2.5.0.Alpha2 2023-11-10 10:26:05 +00:00
Jiri Pechanec
4f485caca3 DBZ-7119 Allow empty column list in INSERT 2023-11-09 14:25:14 +01:00
caicancai
4b40bb935e DBZ-7095 The MySqlParser.g4 parser has a priority problem 2023-11-03 16:39:23 +01:00
Debezium Builder
78c5204444 [maven-release-plugin] prepare for next development iteration 2023-10-26 15:39:35 +00:00
Debezium Builder
356e488e83 [maven-release-plugin] prepare release v2.5.0.Alpha1 2023-10-26 15:39:35 +00:00
ani-sha
0aac72959f DBZ-7030 Add inmemory table clause for alter table 2023-10-13 08:36:31 -04:00
Debezium Builder
40a8f4026d [maven-release-plugin] prepare for next development iteration 2023-10-03 14:18:54 +00:00
Debezium Builder
412c6f7979 [maven-release-plugin] prepare release v2.4.0.Final 2023-10-03 14:18:54 +00:00
harveyyue
33c86ea4c1 DBZ-6971 Support parse mariadb keyword "NOCOPY" in related index statement 2023-09-28 14:11:44 -04:00
Kaustuv chakrabarti
0390a17e44 DBZ-6978 [MariaDB] Add support for spaces in username spec 2023-09-28 13:42:51 -04:00
Debezium Builder
cc1de0aa51 [maven-release-plugin] prepare for next development iteration 2023-09-22 09:00:45 +00:00
Debezium Builder
6809978083 [maven-release-plugin] prepare release v2.4.0.CR1 2023-09-22 09:00:45 +00:00
Debezium Builder
65169a9315 [maven-release-plugin] prepare for next development iteration 2023-09-13 09:41:46 +00:00
Debezium Builder
845e3e9d09 [maven-release-plugin] prepare release v2.4.0.Beta2 2023-09-13 09:41:46 +00:00
Chris Cranford
cd6a262d30 DBZ-6876 Upstream test failure fix (backport) 2023-09-08 07:28:16 +02:00
Chris Cranford
2f05a4a120 DBZ-6876 Add key/drop index clause to all drop constraints 2023-09-08 07:28:16 +02:00
Debezium Builder
d97a18e8dc [maven-release-plugin] prepare for next development iteration 2023-08-29 11:41:08 +00:00
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