-
Notifications
You must be signed in to change notification settings - Fork 1
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: upstream table name prefixed with database name #50
Conversation
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.
When creating a CDC table, the upstream table name should be prefixed with database name. See the example below:
This change only applies to the sql server cdc connector. The syntax of other cdc connectors are same as before.
Updated, please take another look |
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.
Rest lgtm
@@ -87,7 +87,7 @@ CREATE TABLE [ IF NOT EXISTS ] table_name ( | |||
WITH ( | |||
snapshot='true' | |||
) | |||
FROM source TABLE table_name; | |||
FROM source TABLE database_name.table_name; |
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.
Suggest to use a identifier sqlserver_table_name
in the syntax, and add explaination in the table below.
sqlserver_table_name: identifier of SQL Server table in the format of 'database_name.schema_name.table_name'
Description
Upstream table name needs to be prefixed with database name
Related code PR
risingwavelabs/risingwave#18868
Related doc issue
Resolve https://github.com/risingwavelabs/risingwave-docs/issues/2690
Preview