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

Exchange Partition with a table that already contains it

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Metastore
    • Labels:

      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

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

              Dates

              • Created:
                Updated: