File tree Expand file tree Collapse file tree
mysql-delta-plugins/src/main/java/io/cdap/delta/mysql
sqlserver-delta-plugins/src/main/java/io/cdap/delta/sqlserver Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public void accept(SourceRecord sourceRecord) {
126126 // This should not happen, 'source' is a mandatory field in sourceRecord from debezium
127127 return ;
128128 }
129- boolean isSnapshot = Boolean .TRUE . equals (deltaOffset .get (MySqlConstantOffsetBackingStore .SNAPSHOT ));
129+ boolean isSnapshot = Boolean .parseBoolean (deltaOffset .get (MySqlConstantOffsetBackingStore .SNAPSHOT ));
130130 // If the map is empty, we should read all DDL/DML events and columns of all tables
131131 boolean readAllTables = sourceTableMap .isEmpty ();
132132
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public class SqlServerOffset {
4848 }
4949
5050 boolean isSnapshot () {
51- return Boolean . TRUE . equals ( isSnapshot ) ;
51+ return isSnapshot ;
5252 }
5353
5454 void setSnapshotTables (Set <String > snapshotTables ) {
You can’t perform that action at this time.
0 commit comments