Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14763

Exchange Partition with a table that already contains it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Metastore

    Description

      The EXCHANGE PARTITION command fails to execute if the partition already exists in the target table. However this is not the expected result from a command named EXCHANGE partition.
      Proposed Improvement
      Change the command to really exchange the partition between the target and the source table, meaning that after it the source table should have the destination table partition and vice versa.
      Documentation EXCHANGE PARTITION

      Attachments

        Activity

          People

            kkallas Konstantinos Kallas
            kkallas Konstantinos Kallas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: