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

Verification of partition specs in SessionCatalog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • SQL
    • None

    Description

      When attempting to drop partitions of a table, if the user provides an unknown column, Hive will drop all the partitions of the table, which is likely not intended. E.g.

      ALTER TABLE my_tab DROP PARTITION (ds='2008-04-09', unknownCol='12')
      

      We should verify that the columns provided in the specs are actually partitioned columns.

      Attachments

        Issue Links

          Activity

            People

              smilegator Xiao Li
              smilegator Xiao Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: