HyukjinKwon commented on a change in pull request #31633:
URL: https://github.com/apache/spark/pull/31633#discussion_r581821188
##########
File path: docs/sql-ref-syntax-ddl-repair-table.md
##########
@@ -41,10 +41,10 @@ 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.
* **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**.
+ * If not specified, **ADD** is the default.
Review comment:
```suggestion
```
##########
File path: docs/sql-ref-syntax-ddl-repair-table.md
##########
@@ -41,10 +41,10 @@ MSCK REPAIR TABLE table_identifier [{ADD|DROP|SYNC}
PARTITIONS]
* **`{ADD|DROP|SYNC} PARTITIONS`**
Review comment:
```suggestion
Specifies how to recover partitions. If not specified, **ADD** is the
default.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]