Skip to content

Instantly share code, notes, and snippets.

@mackjoner
Created December 20, 2019 15:20
Show Gist options
  • Save mackjoner/b88db9c5abe4ce90ac2f860de75ae24e to your computer and use it in GitHub Desktop.
Save mackjoner/b88db9c5abe4ce90ac2f860de75ae24e to your computer and use it in GitHub Desktop.
drop-table.sh
docker exec monitor-clickhouse-server-v4 /usr/bin/clickhouse-client -q "DROP TABLE IF EXISTS adn_monitor.adn_stat_old_rp"
docker exec monitor-clickhouse-server-v4 /usr/bin/clickhouse-client -q "DROP TABLE IF EXISTS adn_monitor.adn_stat_tk_old_rp"
docker exec monitor-clickhouse-server-v4 /usr/bin/clickhouse-client -q "DROP TABLE IF EXISTS adx_monitor.adx_stat_old_rp"
docker exec monitor-clickhouse-server-v4 /usr/bin/clickhouse-client -q "DROP TABLE IF EXISTS adx_monitor.adx_stat_tk_old_rp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment