You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/02/24 10:03:10 UTC

[GitHub] [spark] HyukjinKwon commented on a change in pull request #31633: [SPARK-31891][SQL][DOCS][FOLLOWUP] Fix typo in the description of `MSCK REPAIR TABLE`

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org