diff options
| author | chaoc <[email protected]> | 2023-07-13 13:39:19 +0800 |
|---|---|---|
| committer | chaoc <[email protected]> | 2023-07-13 13:39:19 +0800 |
| commit | 3f17d1aa98e92b43f8534eba1a7f8a7171f29678 (patch) | |
| tree | fc086cbcc7a541457093444007dedb97a2418c21 /exec.sh | |
| parent | 47850b02349a331e13fe03fddaf70439f0fa422a (diff) | |
Diffstat (limited to 'exec.sh')
| -rw-r--r-- | exec.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +#!/bin/bash + +# 执行 SQL 导出结果 +clickhouse-client -h 127.0.0.1 --port 9001 -m -d tsg_galaxy_v3 -u tsg_query \ +--password '******' --queries-file query.sql --format_csv_delimiter="," > results.csv
\ No newline at end of file |
