-
Bug
-
Resolution: Done
-
Major
-
0.5.1
-
None
The SMT for changing the table router logic contains comparisons by identity where .equals() comparisons are necessary.
Example excerpt from debezium-core/src/main/java/io/debezium/transforms/ByLogicalTableRouter.java#L317:
if (keyFieldRegex != null && keyFieldRegex != "") { if (keyFieldReplacement == null || keyFieldReplacement == "") { problems.accept(KEY_FIELD_REPLACEMENT, keyFieldReplacement, KEY_FIELD_REPLACEMENT.name() + " must be specified if " + KEY_FIELD_REGEX.name() + " is specified"); return 1; } }