Re: hive partition pruning on joining on partition column

2013-10-11 Thread Nitin Pawar
one easiest way to do this is create a table where each date maps to week of month, week of year, day of week, day of month and then do the join on just date and put the conditions on where clause. Its easy to manipulate the date column for my understanding and you can join just based on date and

hive partition pruning on joining on partition column

2013-10-11 Thread java8964 java8964
I have the requirement trying to support in hive, not sure if it is doable. I have the hadoop 1.1.1 with Hive 0.9.0 (Using deby as the meta store) If I partition my data by a dt column, so if my table 'foo' have some partitions like 'dt=2013-07-01' to 'dt=2013-07-30'. Now the user want to query al