Skip to content

Commit 32aaa94

Browse files
committed
mssql demo updates
1 parent b4ea758 commit 32aaa94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/mssql/demo/config/samples/payloads/cdc-job.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"dbo.emp": {
3535
"columns": [
3636
{ "targetColumn": "empno", "sourceColumn": "empno", "primaryKey": true },
37-
{ "targetColumn": "sal", "sourceColumn": "sal", "type": "FLOAT" },
38-
{ "targetColumn": "comm", "sourceColumn": "comm", "type": "FLOAT" },
37+
{ "targetColumn": "sal", "sourceColumn": "sal", "type": "DECIMAL" },
38+
{ "targetColumn": "comm", "sourceColumn": "comm", "type": "DECIMAL" },
3939
{ "targetColumn": "hiredate", "sourceColumn": "hiredate", "type": "DATE_TIME", "dateFormat": "YYYY-MM-dd HH:mm:ss.SS" }
4040
],
4141
"schemaAndTableName": "dbo.emp",

examples/mssql/demo/mssql_cdc.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ CREATE TABLE [RedisConnect].[dbo].[emp] (
2828
[job] varchar(50),
2929
[mgr] int,
3030
[hiredate] datetime,
31-
[sal] money,
32-
[comm] money,
31+
[sal] decimal(8,2),
32+
[comm] decimal(8,2),
3333
[dept] int,
3434
PRIMARY KEY ([empno])
3535
);

0 commit comments

Comments
 (0)