You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2013/10/29 23:21:26 UTC

[jira] [Created] (HIVE-5686) partition column type validation doesn't quite work for dates

Sergey Shelukhin created HIVE-5686:
--------------------------------------

             Summary: partition column type validation doesn't quite work for dates
                 Key: HIVE-5686
                 URL: https://issues.apache.org/jira/browse/HIVE-5686
             Project: Hive
          Issue Type: Bug
            Reporter: Sergey Shelukhin
            Assignee: Vikram Dixit K


Another interesting issue...
{noformat}
hive> create table zzzzz(c string) partitioned by (i date,j date);
OK
Time taken: 0.099 seconds
hive> alter table zzzzz add partition (i='2012-01-01', j='foo');          
FAILED: SemanticException [Error 10248]: Cannot add partition column j of type string as it cannot be converted to type date
hive> alter table zzzzz add partition (i='2012-01-01', j=date 'foo');
OK
Time taken: 0.119 seconds
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)