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.