Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-31891][SQL][DOCS][FOLLOWUP] Fix typo in the description of MSCK REPAIR TABLE #31633

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/sql-ref-syntax-ddl-repair-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down