Hi Tareen, Nice work. It would be nice have this is in Phoenix. Looks promising. I also recommend you to comment on JIRA so that its known that you already have coded for it.
PS: I m not a committer. So, wont be able to decide on merging this into Phoenix. Thanks, Anil Gupta On Mon, Sep 14, 2015 at 4:24 PM, Tareen, Babar <[email protected] > wrote: > Hi, > > I have implemented HBase's checkAndPut like functionality for Apache > Phoenix, based on the comments on PHOENIX-6 ( > https://issues.apache.org/jira/browse/PHOENIX-6). The Upsert statement is > modified to support compare clause, which allows us to pass in an > expression. The expression is evaluated against the current record and > Upsert is only performed when the expression evaluates to true. This > enables conditional updates to the records. I have listed some examples on > the github fork here https://github.com/babartareen/phoenix. > > I would appreciate your feedback and am hopping that this change could be > merged back into the Apache Phoenix project. > > Thanks, > Babar > -- Thanks & Regards, Anil Gupta
