Re: Query when partition presents.

2009-07-09 Thread Namit Jain
Merged that just now On 7/9/09 7:57 AM, "He Yongqiang" wrote: Hi Namit, I found the jira issue https://issues.apache.org/jira/browse/HIVE-527. On 09-7-9 下午10:17, "Namit Jain" wrote: If a table is partitioned, we should only allow insertion/loading data in a partition – not the table.

Re: Query when partition presents.

2009-07-09 Thread He Yongqiang
Hi Namit, I found the jira issue https://issues.apache.org/jira/browse/HIVE-527. On 09-7-9 下午10:17, "Namit Jain" wrote: > If a table is partitioned, we should only allow insertion/loading data in a > partition – not the table. > So, load data local inpath > \"/Users/char/Documents/workspac

Re: Query when partition presents.

2009-07-09 Thread He Yongqiang
Thanks, my index work for partition is more clear now. I can just create a set of partitions for index table as the same as the original table. And add index data to corresponding partitions. On 09-7-9 下午10:17, "Namit Jain" wrote: > If a table is partitioned, we should only allow insertion/loadi

Re: Query when partition presents.

2009-07-09 Thread Namit Jain
If a table is partitioned, we should only allow insertion/loading data in a partition - not the table. So, load data local inpath \"/Users/char/Documents/workspace/Hive-Clean/data/files/kv1.txt\" into table srcpart ; should fail. I think there was already a jira for that - let me check and othe