-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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][Sqlserver]Add notice into Sqlserver cdc doc #4721
Closed
zhangchengming601
wants to merge
18
commits into
apache:dev
from
zhangchengming601:sqlserver_cdc_doc
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7091e8c
[Doc][SQLServer] Add SQLServer source and sink doc
zhangchengming601 9eb5e4c
[Doc][SQLServer] modify sink/SQLServer
zhangchengming601 6f384b6
[Doc][Redshift] Add Sink And Source Of Redshift Doc
zhangchengming601 7075a6c
[Doc][Redshift] Modify JDBC sink/redshift Doc
zhangchengming601 cad2b47
[Doc][Sqlserver-CDC] ADD notice into Sqlserver-CDC
zhangchengming601 863bbb2
[Doc][Sqlserver-CDC] Modify SqlServer-CDC file format
zhangchengming601 28f333a
[MODIFY][DOC] Modify sqlserver doc
zhangchengming601 06f0b75
[MODIFY][DOC] Modify sqlserver doc
zhangchengming601 2482820
Update docs/en/connector-v2/sink/SQLServer.md
EricJoy2048 b961eb5
Update docs/en/connector-v2/sink/redshift.md
EricJoy2048 ea69deb
Update docs/en/connector-v2/source/redshift.md
EricJoy2048 c7980b7
Update docs/en/connector-v2/source/redshift.md
EricJoy2048 c9c237c
Update docs/en/connector-v2/source/SQLServer.md
EricJoy2048 af4cb56
Update docs/en/connector-v2/sink/redshift.md
EricJoy2048 ad0e64c
Update docs/en/connector-v2/sink/SQLServer.md
EricJoy2048 82023d4
Update docs/en/connector-v2/source/SQLServer.md
EricJoy2048 d582aad
Update docs/en/connector-v2/source/SQLServer.md
EricJoy2048 bf6e167
Update docs/en/connector-v2/source/SQLServer.md
EricJoy2048 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Doc][Sqlserver-CDC] Modify SqlServer-CDC file format
- Loading branch information
commit 863bbb2f154da22875bb202706afeaa650360915
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,8 @@ semantics (using XA transaction guarantee). | |
|
||
## Supported DataSource list | ||
EricJoy2048 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
| datasource | supported versions | driver | url | maven | | ||
| ---------- | -------------------------------------------------------- | -------------------------------------------- | ------------------------------- | ------------------------------------------------------------ | | ||
| datasource | supported versions | driver | url | maven | | ||
|------------|----------------------------------------------------------|----------------------------------------------|---------------------------------|-----------------------------------------------------------------------------------| | ||
| SQL Server | Different dependency version has different driver class. | com.microsoft.sqlserver.jdbc.SQLServerDriver | jdbc:sqlserver://localhost:1433 | [Download](https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc) | | ||
|
||
## Database dependency | ||
|
@@ -35,37 +35,37 @@ semantics (using XA transaction guarantee). | |
|
||
## Data Type Mapping | ||
|
||
| SQLserver Data type | Seatunnel Data type | | ||
| ------------------------------------------------------------ | ------------------------------------------------------------ | | ||
| BIT | BOOLEAN | | ||
| TINYINT<br/>SMALLINT | SHORT | | ||
| INTEGER | INT | | ||
| BIGINT | LONG | | ||
| DECIMAL<br />NUMERIC<br />MONEY<br />SMALLMONEY | DECIMAL((Get the designated column's specified column size)+1,<br/>(Gets the designated column's number of digits to right of the <br />decimal point.))) | | ||
| REAL | FLOAT | | ||
| FLOAT | DOUBLE | | ||
| CHAR<br />NCHAR<br />VARCHAR<br />NTEXT<br />NVARCHAR<br />TEXT | STRING | | ||
| DATE | LOCAL_DATE | | ||
| TIME | LOCAL_TIME | | ||
| DATETIME<br />DATETIME2<br />SMALLDATETIME<br />DATETIMEOFFSET | LOCAL_DATE_TIME | | ||
| TIMESTAMP<br />BINARY<br />VARBINARY<br />IMAGE<br />UNKNOWN | Not supported yet | | ||
| SQLserver Data type | Seatunnel Data type | | ||
|-----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| BIT | BOOLEAN | | ||
| TINYINT<br/>SMALLINT | SHORT | | ||
| INTEGER | INT | | ||
| BIGINT | LONG | | ||
| DECIMAL<br />NUMERIC<br />MONEY<br />SMALLMONEY | DECIMAL((Get the designated column's specified column size)+1,<br/>(Gets the designated column's number of digits to right of the <br />decimal point.))) | | ||
| REAL | FLOAT | | ||
| FLOAT | DOUBLE | | ||
| CHAR<br />NCHAR<br />VARCHAR<br />NTEXT<br />NVARCHAR<br />TEXT | STRING | | ||
| DATE | LOCAL_DATE | | ||
| TIME | LOCAL_TIME | | ||
| DATETIME<br />DATETIME2<br />SMALLDATETIME<br />DATETIMEOFFSET | LOCAL_DATE_TIME | | ||
| TIMESTAMP<br />BINARY<br />VARBINARY<br />IMAGE<br />UNKNOWN | Not supported yet | | ||
|
||
## Options | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sink Options |
||
|
||
| name | type | required | default | Description | | ||
| ---------------------------- | ------ | -------- | --------------- | ------------------------------------------------------------ | | ||
| url | String | Yes | - | The URL of the JDBC connection. Refer to a case: jdbc:sqlserver://localhost:1433 | | ||
| driver | String | Yes | - | The jdbc class name used to connect to the remote data source,<br/> if you use SQLserver the value is `com.microsoft.sqlserver.jdbc.SQLServerDriver`. | | ||
| user | String | No | - | Connection instance user name | | ||
| password | String | No | - | Connection instance password | | ||
| query | String | Yes | - | Query statement | | ||
| connection_check_timeout_sec | Int | No | 30 | The time in seconds to wait for the database operation used to validate the connection to complete | | ||
| partition_column | String | No | - | The column name for parallelism's partition, only support numeric type. | | ||
| partition_lower_bound | Long | No | - | The partition_column min value for scan, if not set SeaTunnel will query database get min value. | | ||
| partition_upper_bound | Long | No | - | The partition_column max value for scan, if not set SeaTunnel will query database get max value. | | ||
| partition_num | Int | No | job parallelism | The number of partition count, only support positive integer. default value is job parallelism | | ||
| name | type | required | default | Description | | ||
|------------------------------|--------|----------|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
Comment on lines
+54
to
+55
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. | Name | Type | Required | Default | Description| |
||
| url | String | Yes | - | The URL of the JDBC connection. Refer to a case: jdbc:sqlserver://localhost:1433 | | ||
| driver | String | Yes | - | The jdbc class name used to connect to the remote data source,<br/> if you use SQLserver the value is `com.microsoft.sqlserver.jdbc.SQLServerDriver`. | | ||
| user | String | No | - | Connection instance user name | | ||
| password | String | No | - | Connection instance password | | ||
| query | String | Yes | - | Query statement | | ||
| connection_check_timeout_sec | Int | No | 30 | The time in seconds to wait for the database operation used to validate the connection to complete | | ||
| partition_column | String | No | - | The column name for parallelism's partition, only support numeric type. | | ||
| partition_lower_bound | Long | No | - | The partition_column min value for scan, if not set SeaTunnel will query database get min value. | | ||
| partition_upper_bound | Long | No | - | The partition_column max value for scan, if not set SeaTunnel will query database get max value. | | ||
| partition_num | Int | No | job parallelism | The number of partition count, only support positive integer. default value is job parallelism | | ||
| fetch_size | Int | No | 0 | For queries that return a large number of objects,you can configure<br/> the row fetch size used in the query toimprove performance by<br/> reducing the number database hits required to satisfy the selection criteria.<br/> Zero means use jdbc default value. | | ||
| common-options | | No | - | Source plugin common parameters, please refer to [Source Common Options](common-options.md) for details | | ||
| common-options | | No | - | Source plugin common parameters, please refer to [Source Common Options](common-options.md) for details | | ||
|
||
## tips | ||
|
||
|
@@ -156,4 +156,5 @@ jdbc { | |
table = sink_table | ||
primary_keys = ["id","name"] | ||
} | ||
``` | ||
``` | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's weird, SQLServer sink only support SQLServer, why use
Supported DataSource list
?