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

alter exchange is implemented in inverted manner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • 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 Ryu
        2. HIVE-6129.2.patch
          22 kB
          Harish Butani

        Issue Links

          Activity

            People

              navis Navis Ryu
              navis Navis Ryu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: