DBZ-20 DROP TABLE does not kill connector
This commit is contained in:
parent
984f1ef704
commit
f89cadf8aa
@ -65,7 +65,7 @@ private SchemaChangeEventType getSchemaChangeEventType() {
|
|||||||
switch(ddlLcr.getCommandType()) {
|
switch(ddlLcr.getCommandType()) {
|
||||||
case "CREATE TABLE": return SchemaChangeEventType.CREATE;
|
case "CREATE TABLE": return SchemaChangeEventType.CREATE;
|
||||||
case "ALTER TABLE": LOGGER.warn("ALTER TABLE not yet implemented");
|
case "ALTER TABLE": LOGGER.warn("ALTER TABLE not yet implemented");
|
||||||
case "DROP TABLE": throw new UnsupportedOperationException("DROP TABLE not yet implemented");
|
case "DROP TABLE": LOGGER.warn("DROP TABLE not yet implemented");
|
||||||
default:
|
default:
|
||||||
LOGGER.debug("Ignoring DDL event of type {}", ddlLcr.getCommandType());
|
LOGGER.debug("Ignoring DDL event of type {}", ddlLcr.getCommandType());
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user