You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2010/04/23 21:30:49 UTC
[jira] Resolved: (HIVE-1323) leading dash in partition name is not
handled properly
[ https://issues.apache.org/jira/browse/HIVE-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Sichi resolved HIVE-1323.
------------------------------
Resolution: Invalid
Whoops, I had the wrong table name in the INSERT, never mind :)
> leading dash in partition name is not handled properly
> ------------------------------------------------------
>
> Key: HIVE-1323
> URL: https://issues.apache.org/jira/browse/HIVE-1323
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore, Query Processor
> Affects Versions: 0.5.0
> Reporter: John Sichi
> Fix For: 0.6.0
>
>
> This works:
> create table tmp_jvs_fact_tz(x int)
> partitioned by (ds string, hr string, gmtoffset string);
> alter table tmp_jvs_fact_tz
> add partition (ds='2010-01-03', hr='1', gmtoffset='GMT-7');
> insert overwrite table tmp_jvs_fact_daily
> partition (ds='2010-01-03', hr='1', gmtoffset='GMT-7')
> select foo from pokes;
> But this does not:
> create table tmp_jvs_fact_tz(x int)
> partitioned by (ds string, hr string, gmtoffset string);
> alter table tmp_jvs_fact_tz
> add partition (ds='2010-01-03', hr='1', gmtoffset='-7');
> insert overwrite table tmp_jvs_fact_daily
> partition (ds='2010-01-03', hr='1', gmtoffset='-7')
> select foo from pokes;
> FAILED: Error in semantic analysis: line 2:11 Partition not found '-7'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.