RE: if else condition in hive

2016-06-21 Thread Markovitz, Dudu
I understand that you’re looking for the functionality of the MERGE statement. 1) MERGE is currently an open issue. https://issues.apache.org/jira/browse/HIVE-10924 2) UPDATE and DELETE (and MERGE in the future) work under a bunch of limitations, e.g. – Currently only ORC tables are supported ht

Re: if else condition in hive

2016-06-21 Thread Jörn Franke
I recommend you to rethink it as part of a bulk transfer potentially even using separate partitions. Will be much faster. > On 21 Jun 2016, at 13:22, raj hive wrote: > > Hi friends, > > INSERT,UPDATE,DELETE commands are working fine in my Hive environment after > changing the configuration an

Re: if else condition in hive

2016-06-21 Thread Dmitry Tolpeko
Hi Raj, Hive hpl/sql component can be used to achieve such functionality (see www.hplsql.org for docs), now you can run it as a separate tool, and I hope some day it will be available from Hive or Beeline CLI. Thanks, Dmitry On Tue, Jun 21, 2016 at 2:22 PM, raj hive wrote: > Hi friends, > > IN