Re: Phoenix Secondary index question

2017-01-04 Thread Jeremy Huffman
Udit once they have been persisted Phoenix tables and indexes are just normal rows in HBase tables. HBase backups and replication would work just fine. It may be helpful to make a small table with index, upsert a few rows and look at the raw entries with the HBase shell to understand what Phoenix

Re: Phoenix Secondary index question

2017-01-03 Thread James Taylor
Hi Udit, You'll need to use Phoenix APIs when you update your data if you want Phoenix to keep you index in sync with your table. Thanks, James On Tue, Jan 3, 2017 at 1:32 PM, Udit Mehta wrote: > Hi All, > > I am facing an issue while working with secondary indexes on a

Phoenix Secondary index question

2017-01-03 Thread Udit Mehta
Hi All, I am facing an issue while working with secondary indexes on a Phoenix view/table that is created on top of an existing Hbase table. I basically have an existing Hbase table with a few rows and I then build a Phoenix view on this table. This works fine and any updates directly to the