Skip to content

Commit

Permalink
Quote database and table names in SYSTEM SYNC REPLICA query
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Burmak committed Mar 24, 2024
1 parent 60a87b8 commit ee69cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch_tools/chadmin/cli/wait_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def wait_replication_sync_command(

# Sync tables in cycle
for t in tables:
full_name = f"{t['database']}.{t['name']}"
full_name = f"`{t['database']}`.`{t['name']}`"
time_left = deadline - time.time()
timeout = min(replica_timeout.total_seconds(), time_left)

Expand Down

0 comments on commit ee69cb7

Please sign in to comment.