Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GOODBOY008 committed May 23, 2023
1 parent c048f32 commit eba609c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ private static DataType convertFromColumn(Column column) {
return DataTypes.DATE();
case Types.TIMESTAMP:
case Types.TIMESTAMP_WITH_TIMEZONE:
return column.length() >= 0
? DataTypes.TIMESTAMP(column.length())
: DataTypes.TIMESTAMP();
case Types.BOOLEAN:
return DataTypes.BOOLEAN();
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import java.util.stream.Collectors;

/**
* Copied from Debezium project(1.6.4.final) to add method {@link SqlServerStreamingChangeEventSource#afterHandleLsn(SqlServerOffsetContext)}.
* A {@link StreamingChangeEventSource} based on SQL Server change data capture functionality. A
* main loop polls database DDL change and change data tables and turns them into change events.
*
Expand Down

0 comments on commit eba609c

Please sign in to comment.