You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2012/12/19 07:31:18 UTC

[jira] [Updated] (HIVE-3309) drop partition doesnot work for mixture of string and non-string columns for non-equality operatior

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

Ashutosh Chauhan updated HIVE-3309:
-----------------------------------

    Fix Version/s:     (was: 0.10.0)
    
> 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.10.0, 0.9.1
>         Environment: SuSE 11 SP 1
> Hadoop Cluster + Hive
>            Reporter: rohithsharma
>            Priority: Minor
>              Labels: patch
>         Attachments: HIVE-3309.patch, HIVE-3309.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira