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

alter exchange is implemented in inverted manner

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      see https://issues.apache.org/jira/browse/HIVE-4095?focusedCommentId=13819885&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13819885

      alter exchange should be implemented accord to document in https://cwiki.apache.org/confluence/display/Hive/Exchange+Partition. i.e

      alter table T1 exchange partition (ds='1') with table T2" 
      

      should be (after creating T1@ds=1)

      moves the data from T2 to T1@ds=1....

        Attachments

        1. HIVE-6129.1.patch.txt
          22 kB
          Navis
        2. HIVE-6129.2.patch
          22 kB
          Harish Butani

          Issue Links

            Activity

              People

              • Assignee:
                navis Navis
                Reporter:
                navis Navis
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: