Skip to content

Commit

Permalink
[cdc-connector][oracle] oracle support use specific chunk column as a…
Browse files Browse the repository at this point in the history
… split key
  • Loading branch information
gong committed Jan 10, 2024
1 parent 4b4f905 commit 213cbc5
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,10 @@ public void testSkipNestedTables() throws Exception {
public void testConsumingAllEventsByChunkKeyColumn() throws Exception {

createAndInitialize("product.sql");
try (Connection dbaConnection = getJdbcConnectionAsDBA();
Statement dbaStatement = dbaConnection.createStatement()) {
dbaStatement.execute("GRANT ANALYZE ANY TO " + ORACLE_CONTAINER.getUsername());
}
if (!parallelismSnapshot) {
return;
}
Expand Down Expand Up @@ -383,8 +387,8 @@ public void testConsumingAllEventsByChunkKeyColumn() throws Exception {
+ ")",
ORACLE_CONTAINER.getHost(),
ORACLE_CONTAINER.getOraclePort(),
"dbzuser",
"dbz",
ORACLE_CONTAINER.getUsername(),
ORACLE_CONTAINER.getPassword(),
parallelismSnapshot,
"debezium",
"products");
Expand Down

0 comments on commit 213cbc5

Please sign in to comment.