diff --git a/docs/sql-ref-syntax-ddl-repair-table.md b/docs/sql-ref-syntax-ddl-repair-table.md index 41499c3314..2e3711c260 100644 --- a/docs/sql-ref-syntax-ddl-repair-table.md +++ b/docs/sql-ref-syntax-ddl-repair-table.md @@ -41,7 +41,8 @@ MSCK REPAIR TABLE table_identifier [{ADD|DROP|SYNC} PARTITIONS] * **`{ADD|DROP|SYNC} PARTITIONS`** - * If specified, `MSCK REPAIR TABLE` only adds partitions to the session catalog. + Specifies how to recover partitions. If not specified, **ADD** is the default. + * **ADD**, the command adds new partitions to the session catalog for all sub-folder in the base table folder that don't belong to any table partitions. * **DROP**, the command drops all partitions from the session catalog that have non-existing locations in the file system. * **SYNC** is the combination of **DROP** and **ADD**.