From 04042a4c9b418eb3c91563525675c6e0ad15e879 Mon Sep 17 00:00:00 2001 From: Jiri Pechanec Date: Wed, 11 Dec 2024 06:43:00 +0100 Subject: [PATCH] DBZ-6387 Reflect core refactoring --- .../java/io/debezium/connector/vitess/VitessValueConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/debezium/connector/vitess/VitessValueConverter.java b/src/main/java/io/debezium/connector/vitess/VitessValueConverter.java index ce8bbf2b..654a5941 100644 --- a/src/main/java/io/debezium/connector/vitess/VitessValueConverter.java +++ b/src/main/java/io/debezium/connector/vitess/VitessValueConverter.java @@ -128,7 +128,7 @@ public ValueConverter converter(Column column, Field fieldDefn) { switch (column.jdbcType()) { case Types.TIME: - if (adaptiveTimeMicrosecondsPrecisionMode) { + if (temporalPrecisionMode == TemporalPrecisionMode.ADAPTIVE_TIME_MICROSECONDS) { return data -> convertDurationToMicroseconds(column, fieldDefn, data); } case Types.TIMESTAMP: