about summary refs log tree commit diff
path: root/users/flokli/archeology/parse_bucket_logs.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-11-11T10·32+0200
committerflokli <flokli@flokli.de>2023-11-11T12·24+0000
commit7075aacc9cd04caaec7d3a504f49424aa2cc374f (patch)
treecd83c1e0346e73b24659bb76d9495358ac98d211 /users/flokli/archeology/parse_bucket_logs.rs
parent314d1facd407a6edff47df54eac2351afeca9a92 (diff)
feat(users/flokli/archeology): show clickhouse-local progress r/6991
This behaviour might change (or not), see https://github.com/ClickHouse/
ClickHouse/pull/42003, but as of now, a `--progress` will provide some
progress.

Change-Id: I4891b6e2f96f2656858e71f88a226d24f0d45dc3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10005
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/flokli/archeology/parse_bucket_logs.rs')
-rw-r--r--users/flokli/archeology/parse_bucket_logs.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/flokli/archeology/parse_bucket_logs.rs b/users/flokli/archeology/parse_bucket_logs.rs
index 32108f93dbb5..1fbba0506821 100644
--- a/users/flokli/archeology/parse_bucket_logs.rs
+++ b/users/flokli/archeology/parse_bucket_logs.rs
@@ -13,7 +13,8 @@ fn main() -> ExitCode {
     let output_file = &args[2];
 
     let mut cmd = Command::new("clickhouse-local");
-    cmd.arg("-q")
+    cmd.arg("--progress")
+        .arg("-q")
         .arg(format!(r#"SELECT
         key,
         toInt64(nullif(http_status, '-')) AS http_status,