You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/org/apache/flink/cdc/connectors/mysql/source/BinlogOnlyNewlyAddedTableITCase.java
+39-35Lines changed: 39 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,6 @@
44
44
importorg.junit.jupiter.api.AfterEach;
45
45
importorg.junit.jupiter.api.BeforeEach;
46
46
importorg.junit.jupiter.api.Test;
47
-
importorg.junit.jupiter.api.Timeout;
48
47
49
48
importjava.sql.SQLException;
50
49
importjava.time.ZoneId;
@@ -57,19 +56,17 @@
57
56
importjava.util.Map;
58
57
importjava.util.Properties;
59
58
importjava.util.UUID;
60
-
importjava.util.concurrent.TimeUnit;
61
59
importjava.util.stream.Collectors;
62
60
63
61
importstaticjava.lang.String.format;
64
62
65
63
/**
66
64
* IT tests for binlog-only newly added table capture functionality using {@link
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/binlog_test.sql
+1-41Lines changed: 1 addition & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -35,44 +35,4 @@ CREATE TABLE initial_table (
35
35
value VARCHAR(100)
36
36
);
37
37
38
-
INSERT INTO initial_table VALUES (1, 'initial');
39
-
40
-
-- Example schema for dynamically created product tables (products_2024, etc.)
41
-
-- These tables are created during test execution, not from this SQL file
42
-
-- Schema reference:
43
-
-- CREATE TABLE products_YYYY (
44
-
-- id BIGINT PRIMARY KEY,
45
-
-- name VARCHAR(100),
46
-
-- quantity INT
47
-
-- );
48
-
49
-
-- Example schema for dynamically created order tables (orders_2024, orders_2025, etc.)
50
-
-- Schema reference:
51
-
-- CREATE TABLE orders_YYYY (
52
-
-- id BIGINT PRIMARY KEY,
53
-
-- name VARCHAR(100),
54
-
-- quantity INT
55
-
-- );
56
-
57
-
-- Example schema for dynamically created user tables (user_profiles, user_settings, user_logs, etc.)
58
-
-- Schema reference:
59
-
-- CREATE TABLE user_* (
60
-
-- id BIGINT PRIMARY KEY,
61
-
-- name VARCHAR(100),
62
-
-- quantity INT
63
-
-- );
64
-
65
-
-- Example schema for dynamically created temp tables (temp_test, etc.)
66
-
-- Schema reference:
67
-
-- CREATE TABLE temp_* (
68
-
-- id BIGINT PRIMARY KEY,
69
-
-- value VARCHAR(100)
70
-
-- );
71
-
72
-
-- Example schema for non-matching tables (permanent_test, etc.)
73
-
-- These should not be captured when pattern doesn't match
0 commit comments