Hive
  1. Hive
  2. HIVE-6129

alter exchange is implemented in inverted manner

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical 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....

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

        Issue Links

          Activity

          Navis made changes -
          Link This issue blocks HIVE-6133 [ HIVE-6133 ]
          Harish Butani made changes -
          Fix Version/s 0.13.0 [ 12324986 ]
          Harish Butani made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Harish Butani made changes -
          Attachment HIVE-6129.2.patch [ 12636955 ]
          Navis made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Navis made changes -
          Remote Link This issue links to "review board (Web Link)" [ 13619 ]
          Navis made changes -
          Attachment HIVE-6129.1.patch.txt [ 12621248 ]
          Navis made changes -
          Description alter exchange should be implemented accord to document in https://cwiki.apache.org/confluence/display/Hive/Exchange+Partition. i.e

          {code}
          alter table T1 exchange partition (ds='1') with table T2"
          {code}
          should be (after creating T1@ds=1)
          {quote}
          moves the data from T2 to T1@ds=1....
          {quote}
          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

          {code}
          alter table T1 exchange partition (ds='1') with table T2"
          {code}
          should be (after creating T1@ds=1)
          {quote}
          moves the data from T2 to T1@ds=1....
          {quote}
          Navis made changes -
          Field Original Value New Value
          Link This issue is related to HIVE-4095 [ HIVE-4095 ]
          Navis created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development