[ https://issues.apache.org/jira/browse/HIVE-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424271#comment-13424271 ]
rohithsharma commented on HIVE-3309: ------------------------------------ bq. Which version of Hive are you using.? I am using brahcn-0.9.1. HIVE-3076 is merged to this branch. > drop partition doesnot work for mixture of string and non-string columns for > non-equality operatior > --------------------------------------------------------------------------------------------------- > > Key: HIVE-3309 > URL: https://issues.apache.org/jira/browse/HIVE-3309 > Project: Hive > Issue Type: Bug > Components: Metastore, Query Processor > Affects Versions: 0.9.1 > Environment: SuSE 11 SP 1 > Hadoop Cluster + Hive > Reporter: rohithsharma > Priority: Minor > > There is still problem in "drop partition" columns if the partition columns > are mixture of string and non-string. > There is behavioural change after fixing HIVE-3063. > Before fix > ========== > create table ptestfilter (a string, b int) partitioned by (c string, d int); > alter table ptestfilter add partition (c='1', d=2); > alter table ptestFilter add partition (c='2', d=1); > alter table ptestfilter drop partition (c<'2'); //this will execute fine > After fix > ========== > create table ptestfilter (a string, b int) partitioned by (c string, d int); > alter table ptestfilter add partition (c='1', d=2); > alter table ptestFilter add partition (c='2', d=1); > alter table ptestfilter drop partition (c<'2'); //this will fail to execute. -- 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