hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HIVE-1319) Alter table add partition fails if ADD PARTITION is not in upper case
Date Fri, 24 Dec 2010 22:30:45 GMT

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

Edward Capriolo resolved HIVE-1319.
-----------------------------------

    Resolution: Invalid

> Alter table add partition fails if ADD PARTITION is not in upper case
> ---------------------------------------------------------------------
>
>                 Key: HIVE-1319
>                 URL: https://issues.apache.org/jira/browse/HIVE-1319
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Edward Capriolo
>
> {noformat}
> dfs -mkdir /tmp/a;
> dfs -mkdir /tmp/a/b;
> dfs -mkdir /tmp/a/c;
> create external table abc( key string, val string  )
> partitioned by (part int)
> location '/tmp/a/';
> alter table abc ADD PARTITION (part=1)  LOCATION 'b';
> alter table abc add partition (part=2)  LOCATION 'c';
> select key from abc where part=1;
> select key from abct where part=70;
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message