-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
When a change is made to the DDL module, we run both the MySQL and the Oracle connector workflows. If the change in the grammar only affects MySQL, we should only trigger running the MySQL connector. Similarly, if the change in the grammar only affects Oracle, we should only trigger running the Oracle connector.
We should be able to scope the rules based on changes as follows:
MySQL
src/main/antlr4/io/debezium/ddl/aprser/mysql/**
src/main/java/io/debezium/antlr/**
test/resources/mysql.examples/**
pom.xml
Oracle
src/main/antlr4/io/debezium/ddl/parser/oracle/**
src/main/java/io/debezium/antlr/**
src/main/java/io/debezium/ddl/parse/oracle/**
test/resources/oracle.examples/**
pom.xml
This should help reduce the runtime of the CI environment when DDL parser changes are made to a specific connector, without requiring that both connector test suites be executed unless changes explicitly target that connector's DDL parser.