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.2.patch
        22 kB
        Harish Butani
      2. HIVE-6129.1.patch.txt
        22 kB
        Navis

        Issue Links

          Activity

          Hide
          Hive QA added a comment -

          Overall: +1 all checks pass

          Here are the results of testing the latest attachment:
          https://issues.apache.org/jira/secure/attachment/12621248/HIVE-6129.1.patch.txt

          SUCCESS: +1 4874 tests passed

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/799/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/799/console

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          

          This message is automatically generated.

          ATTACHMENT ID: 12621248

          Show
          Hive QA added a comment - Overall : +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12621248/HIVE-6129.1.patch.txt SUCCESS: +1 4874 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/799/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/799/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase This message is automatically generated. ATTACHMENT ID: 12621248
          Hide
          Harish Butani added a comment -

          Navis this patch was not applying anymore. Have regenned the .q.out files. Please verify.

          Show
          Harish Butani added a comment - Navis this patch was not applying anymore. Have regenned the .q.out files. Please verify.
          Hide
          Alan Gates added a comment -

          Ran tests on the latest patch, all looks good.

          Show
          Alan Gates added a comment - Ran tests on the latest patch, all looks good.
          Hide
          Harish Butani added a comment -

          +1

          Show
          Harish Butani added a comment - +1
          Hide
          Hive QA added a comment -

          Overall: +1 all checks pass

          Here are the results of testing the latest attachment:
          https://issues.apache.org/jira/secure/attachment/12636955/HIVE-6129.2.patch

          SUCCESS: +1 5491 tests passed

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1977/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1977/console

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          

          This message is automatically generated.

          ATTACHMENT ID: 12636955

          Show
          Hive QA added a comment - Overall : +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12636955/HIVE-6129.2.patch SUCCESS: +1 5491 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1977/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1977/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase This message is automatically generated. ATTACHMENT ID: 12636955
          Hide
          Harish Butani added a comment -

          committed to trunk and 0.13

          Show
          Harish Butani added a comment - committed to trunk and 0.13

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development