SQL Server CDC connector incorrectly handles speci...
# troubleshooting
r
SQL Server CDC connector incorrectly handles special characters in database 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). 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). The connector logs the following warning and skips the database:
skipping database 'sql-db-dev-dbname' 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?