Re: Reading Keys written with salting

2015-04-01 Thread Flavio Pompermaier
Any help here? On Tue, Mar 31, 2015 at 10:46 AM, Flavio Pompermaier pomperma...@okkam.it wrote: Hi to all, I'd like to know which is the best way to read a key salted with phoenix. If I read it during a mapreduce job I see a byte in front of the key (probably the salted prefix) that I don't

Re: Reading Keys written with salting

2015-04-01 Thread Flavio Pompermaier
There's no other way to read salted keys? Could you describe me shortly which are the advantages of that inputformat? it reads the schema of the table and it's able to read the correct data types of columns? On Wed, Apr 1, 2015 at 9:25 AM, Ravi Kiran maghamraviki...@gmail.com wrote: Hi Flavio,

Re: Reading Keys written with salting

2015-04-01 Thread James Taylor
The advantage is that you don't have to know about salted keys and how to read them. On Wed, Apr 1, 2015 at 12:56 AM, Flavio Pompermaier pomperma...@okkam.it wrote: There's no other way to read salted keys? Could you describe me shortly which are the advantages of that inputformat? it reads

Re: Reading Keys written with salting

2015-04-01 Thread Ravi Kiran
Hi Flavio, If you writing a Map Reduce , I would highly recommend using the custom InputFormat classes written that handle these . http://phoenix.apache.org/phoenix_mr.html. Regards Ravi On Wed, Apr 1, 2015 at 12:16 AM, Flavio Pompermaier pomperma...@okkam.it wrote: Any help here? On

Re: Extra Column when creating views

2015-04-01 Thread Anirudha Khanna
Can you explain that a little more please. I dont think I follow. Anirudha On Wed, Apr 1, 2015 at 12:56 AM, Thomas D'Silva tdsi...@salesforce.com wrote: I think its to support the case when all columns of the table are part of primary key (and are used to construct the rowkey). On Tue, Mar