DBZ-20 DROP TABLE does not kill connector

This commit is contained in:
Jiri Pechanec 2018-04-05 08:42:37 +02:00
parent 984f1ef704
commit f89cadf8aa

View File

@ -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;