Member since
07-13-2017
5
Posts
0
Kudos Received
0
Solutions
07-26-2017
08:48 AM
@rbiswasThank you for your answer. I think with the help of update statement we can update multiple columns of a record for a specific where clause. And we can use where clause for a set of matching values using IN to update column values in multiple records with the same value. But I have a situation where I need to update multiple columns of multiple records with a set of values. Something like a similar kind of Merge operation where I need to retrieve the values from another hive table and update the transaction table. As far as I know update feature will not allow sub queries. Is there any other way which I am missing for this scenario?
... View more
07-21-2017
02:13 PM
We have Hive 2.1 in our system and looking to update bulk records daily once. I see there is a feature called merge in hive 2.2 which will solve this purpose. But is there any way I can update bulk records in lower versions using Hive Transactions.
... View more
Labels:
- Labels:
-
Apache Hive
07-13-2017
10:21 AM
Thank You. This helped.
... View more
07-13-2017
07:07 AM
Thank you for your answer. I did set all the ACID Transaction related configurations in both the sessions but still I am getting a write conflict. And caveat is if I am executing the update statement in sequential way (after completion of a query which is running in other session) it is allowing me to update.
... View more
07-13-2017
06:55 AM
I am trying to update two different records of an ACID transaction enabled hive table in two different sessions but getting a lockException showing write conflict. Is there any configuration parameter in Hive.
... View more
Labels:
- Labels:
-
Apache Hive