From eb2d8ce74cd5806259420a7fb7f7d5d943c3c4bc Mon Sep 17 00:00:00 2001 From: Zaid Date: Fri, 6 Feb 2026 18:40:52 +0500 Subject: [PATCH] Reorder arguments in table-repair command syntax --- docs/commands/repair/table-repair.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/commands/repair/table-repair.md b/docs/commands/repair/table-repair.md index eec49a6..bbd8df6 100644 --- a/docs/commands/repair/table-repair.md +++ b/docs/commands/repair/table-repair.md @@ -5,13 +5,13 @@ Performs repairs on tables of divergent nodes based on the diff report generated ## Syntax ```bash -./ace table-repair --diff-file= [--source-of-truth=] [options] +./ace table-repair --diff-file= [--source-of-truth=] [options] ``` -- `cluster_name`: Name of the cluster. Optional. Overrides `default_cluster` in `ace.yaml` if specified. -- `schema.table_name`: Schema‑qualified table name to repair. - `--diff-file`: Path to the diff JSON file. - `--source-of-truth` (`-r`): Authoritative node for repairs. *Required* unless you run in bidirectional insert-only mode **or** `--fix-nulls`. +- - `cluster_name`: Name of the cluster. Optional. Overrides `default_cluster` in `ace.yaml` if specified. +- `schema.table_name`: Schema‑qualified table name to repair. ## Options @@ -42,10 +42,11 @@ Performs repairs on tables of divergent nodes based on the diff report generated ## Example ```sh -./ace table-repair acctg public.customers_large \ +./ace table-repair \ --diff-file=public_customers_large_diffs-20250718134542.json \ --source-of-truth=n1 \ - --generate-report + --generate-report \ + acctg public.customers_large ``` Diff reports share the same prefix generated by `table-diff` (for example `public_customers_large_diffs-20250718134542.json`). When you request a dry run or report, ACE also writes JSON summaries under `reports//repair_report_.json` (or `dry_run_report_<...>.json`).