[ 
https://issues.apache.org/jira/browse/HIVE-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiyan Wang updated HIVE-2562:
------------------------------

    Attachment: HIVE-2562.patch

keep the old api alter_partition, and add the new api alter_rename_partition. 
In the server side, alter_partition calls alter_rename_partition with part_vals 
= null 

Run the "ant test". Only load_fs.q fails, but after I revert the patch and run 
"ant clean package; ant test -Dtestcase=TestCliDriver -Dqfile=load_fs.q 
-Dtest.silent=false" it still fails. So I think it's not a bug introduced by my 
patch
                
> HIVE-2247 Changed the Thrift API causing compatibility issues.
> --------------------------------------------------------------
>
>                 Key: HIVE-2562
>                 URL: https://issues.apache.org/jira/browse/HIVE-2562
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kevin Wilfong
>            Assignee: Weiyan Wang
>         Attachments: HIVE-2562.patch
>
>
> HIVE-2247 Added a parameter to alter_partition in the Metastore Thrift API 
> which has been causing compatibility issues with some scripts.  We would like 
> to change this to have two methods, one called alter_partition which takes 
> the old parameters, and one called something else (I'll leave the naming up 
> to you) which has the new parameters.  The implementation of the old method 
> should just call the new method with null for the new parameter.
> This will fix the compatibility issues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to