caofangkun created HIVE-3883: -------------------------------- Summary: user defined parttion info does not match the actual partition info defined in the table schema Key: HIVE-3883 URL: https://issues.apache.org/jira/browse/HIVE-3883 Project: Hive Issue Type: Bug Components: Query Processor Affects Versions: 0.9.0 Reporter: caofangkun Priority: Minor
create table src_part (key string, value string) partitioned by (dt string, hr string); load data local inpath './in1.txt' overwrite into table src_part partition (dt='20121230',hr='11'); load data local inpath './in1.txt' overwrite into table src_part partition (hr='12', dt='20121230'); -- user defined the wrong partition info hive (default)> select * from src_part where dt='20121230' and hr='12' limit 1; no result. hive (default)> desc formatted src_part partition (dt='20121230', hr='12') ; hive (default)> dfs -ls /user/zongren/hive/src_part/hr=12/dt=20121230/; Found 1 items rw-rr- 3 zongren supergroup 16 2012-12-04 14:18 /user/zongren/hive/src_part/hr=12/dt=20121230/in1.t -- data's here Should we provate strict check about this ? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira