Is there an UPDATE statement in Hive? If not, are there any plans for adding
support for it in the future?

This is why I ask: I want to maintain a table which, against each user ID,
stores the first visit & last visit time. This is across the entire year,
not a day -- basically to understand how many visitors we got in last 1/3/6
months, etc.

I can add new users into a separate partition to get around the limitation
of not being able to append rows to a table. However, I don't know how to
update the last_visited_at column for each user?

Is this best achieved by storing this table outside of Hive in a traditional
RDBMS? Using JDBC query Hive for a list of distinct visitors today and based
on that list update the 'external' table.

Saurabh.
-- 
http://nandz.blogspot.com
http://foodieforlife.blogspot.com

Reply via email to