hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-1318) External Tables: Selecting a partition that does not exist produces errors
Date Fri, 28 Oct 2011 06:06:32 GMT

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

Ashutosh Chauhan resolved HIVE-1318.
------------------------------------

    Resolution: Cannot Reproduce

Works for me too on trunk, with 0 rows returned.
                
> External Tables: Selecting a partition that does not exist produces errors
> --------------------------------------------------------------------------
>
>                 Key: HIVE-1318
>                 URL: https://issues.apache.org/jira/browse/HIVE-1318
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Edward Capriolo
>         Attachments: partdoom.q
>
>
> {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.
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

        

Mime
View raw message