btw ... this appears to work in my env - hive 0.9.0 (cdh 4.1.1) ... let me know if there's any drawbacks to this approach.
Thanks. Tim On Wed, Oct 2, 2013 at 1:12 PM, Timothy Potter <thelabd...@gmail.com> wrote: > Hi, > > I'd like to implement a "latest" partition concept for one of my tables > and believe I can simply update the location using alter table X partition > (date='latest') set location 'foo'; > > This assumes two partitions can point at the same location? > > My other question is what happens to current running jobs against the > partition I'm updating. In my case the jobs are Pig scripts using > HCatLoader. I believe the HCatLoader reads input paths during job setup, so > changing the location of my "latest" partition is safe, but wanted to > verify. > > Thanks. > Tim >