srowen commented on a change in pull request #25884: [SPARK-28800][DOC][SQL] 
Document REPAIR TABLE statement in SQL Reference
URL: https://github.com/apache/spark/pull/25884#discussion_r331704081
 
 

 ##########
 File path: docs/sql-ref-syntax-ddl-repair-table.md
 ##########
 @@ -19,4 +19,18 @@ license: |
   limitations under the License.
 ---
 
-**This page is under construction**
+### Description
+`MSCK REPAIR TABLE` recovers all the partitions in the directory of a table 
and updates the catalog. `MSCK REPAIR TABLE` on a non-existent table or a table 
without partitions throws Exception. Another way to recover partitions is to 
use `ALTER TABLE RECOVER PARTITIONS`.
 
 Review comment:
   throws Exception -> throws an exception.
   
   Is there anything else we can say about when this would become necessary? 
when do you need to recover a table, and is there any more to say about what it 
updates in the catalog / metastore? No need to say a lot, just trying to make 
this slightly more useful to a reader.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to