Re: Extending bulk csv loader

2016-05-19 Thread Anil Gupta
You can simply write a mapreduce job to accomplish your business logic. Output format of job will be PhoenixOutputFormat. Have a look at PhoenixOutputFormat for more details. Sent from my iPhone > On May 18, 2016, at 10:53 PM, anupama agarwal wrote: > > Hi All, > > I have

Extending bulk csv loader

2016-05-18 Thread anupama agarwal
Hi All, I have a use case in which I want to import data into Hbase table using phoenix, but with some conditions. I want to import a row only if it doesn't exist already, or the row's updated_at value is more than existing record's value. Basically I want to keep the latest data in the table.