Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16905

Support SQL DDL: MSCK REPAIR TABLE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • SQL
    • None

    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

      Attachments

        Activity

          People

            davies Davies Liu
            davies Davies Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: