We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 959e455 commit 1932617Copy full SHA for 1932617
mysql_ch_replicator/db_optimizer.py
@@ -82,7 +82,7 @@ def optimize_database(self, db_name):
82
self.mysql_api.close()
83
tables = [table for table in tables if self.config.is_table_matches(table)]
84
85
- self.clickhouse_api.execute_command(f'USE {db_name}')
+ self.clickhouse_api.execute_command(f'USE `{db_name}`')
86
ch_tables = set(self.clickhouse_api.get_tables())
87
88
for table in tables:
0 commit comments