Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC ] Update data type mapping #1802

Merged
merged 5 commits into from
Dec 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/connectors/sqlserver-cdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ Data Type Mapping
float<br>
real
</td>
<td>FLOAT</td>
<td>DOUBLE</td>
</tr>
<tr>
<td>bit</td>
Expand All @@ -369,7 +369,7 @@ Data Type Mapping
</tr>
<tr>
<td>tinyint</td>
<td>TINYINT</td>
<td>SMALLINT</td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix corresponding all types test.

</tr>
<tr>
<td>smallint</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ public void testAllTypes() throws Throwable {
+ " val_ntext STRING,\n"
+ " val_decimal DECIMAL(6,3),\n"
+ " val_numeric NUMERIC,\n"
+ " val_float FLOAT,\n"
+ " val_float DOUBLE,\n"
+ " val_real FLOAT,\n"
+ " val_smallmoney DECIMAL,\n"
+ " val_money DECIMAL,\n"
+ " val_bit BOOLEAN,\n"
+ " val_tinyint TINYINT,\n"
+ " val_tinyint SMALLINT,\n"
+ " val_smallint SMALLINT,\n"
+ " val_int INT,\n"
+ " val_bigint BIGINT,\n"
Expand Down Expand Up @@ -223,12 +223,12 @@ public void testAllTypes() throws Throwable {
+ " val_ntext STRING,\n"
+ " val_decimal DECIMAL(6,3),\n"
+ " val_numeric NUMERIC,\n"
+ " val_float FLOAT,\n"
+ " val_float DOUBLE,\n"
+ " val_real FLOAT,\n"
+ " val_smallmoney DECIMAL,\n"
+ " val_money DECIMAL,\n"
+ " val_bit BOOLEAN,\n"
+ " val_tinyint TINYINT,\n"
+ " val_tinyint SMALLINT,\n"
+ " val_smallint SMALLINT,\n"
+ " val_int INT,\n"
+ " val_bigint BIGINT,\n"
Expand Down