Description
MSCK REPAIR TABLE could be used to recover the partitions in metastore based on partitions in file system.
Another syntax is:
ALTER TABLE table RECOVER PARTITIONS
MSCK REPAIR TABLE could be used to recover the partitions in metastore based on partitions in file system.
Another syntax is:
ALTER TABLE table RECOVER PARTITIONS