hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mich Talebzadeh <>
Subject Re: on duplicate update equivalent?
Date Fri, 23 Sep 2016 10:17:14 GMT
Hi Vijay,

What is the use case for UPSERT in Hive. The functionality does not exist
but there are other solutions.

Are we talking about a set of dimension tables with primary keys hat need
to be updated (existing rows) or inserted (new rows)?


Dr Mich Talebzadeh

LinkedIn *

*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.

On 23 September 2016 at 09:46, Vijay Ramachandran <>

> Hello.
> Is there a way to write a query with a behaviour equivalent to mysql's "on
> duplicate update"? i.e., try to insert, and if key exists, update the row
> instead?
> thanks,

View raw message