renanxx1 commented on issue #4077: URL: https://github.com/apache/flink-cdc/issues/4077#issuecomment-3155583455
**Description** When using the sqlserver-cdc connector with a database that contains a hyphen (-) in its name, the source fails during discovery phase. This happens even in the latest version (3.4.0). **Expected behavior** The connector is not being able to escape or quote database names that contain special characters like hyphens (e.g., sql-db-dev-dbname in SQL Server). **Actual behavior** The connector logs the following warning and skips the database: `skipping database 'sql-db-dev-reinsurance' due to error reading tables: Incorrect syntax near '-'` This prevents Flink from reading any table from that database using CDC. Is there any workaround or configuration that allows using databases with hyphens in their names, without having to rename the database? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org