Re: Define parameters in queries

2017-03-24 Thread Cheyenne Forbes
Could you show an example?

Re: Define parameters in queries

2017-03-24 Thread Will Xu
AFAIK, Phoenix does support support variables. In this case, you'll need to break apart your queries. Step 1: execute a statement to get your variable value Step 2: prepare a new query and replace the variable with value you've retrieved from step 1 Regards, Will

Re: Paged Queries Not Working

2017-03-24 Thread James Taylor
Bernard - the row value constructor syntax will work in the version you're using and it's a more scalable way of doing paging over HBase data. Thanks, James On Fri, Mar 24, 2017 at 3:16 AM, rajeshb...@apache.org < chrajeshbab...@gmail.com> wrote: > Offset is supported from Phoenix 4.8.0+

Re: MultipleInput in Phoenix mapreduce job

2017-03-24 Thread Steve Terrell
I have been using https://phoenix.apache.org/pig_integration.html for years with much success. Hope this helps, Steve On Fri, Mar 24, 2017 at 7:40 AM, Anil wrote: > Hi, > > I have two table called PERSON and PERSON_DETAIL. i need to populate the > of the person Detail

MultipleInput in Phoenix mapreduce job

2017-03-24 Thread Anil
Hi, I have two table called PERSON and PERSON_DETAIL. i need to populate the of the person Detail info into Person record. Does phoenix map reduce support Multiple mappers from multiple tables through MultipleInput ? Currently i am populating consolidated details information into a temporary

Re: Paged Queries Not Working

2017-03-24 Thread rajeshb...@apache.org
Offset is supported from Phoenix 4.8.0+ onwards. https://issues.apache.org/jira/browse/PHOENIX-2722 Thanks, Rajeshbabu. On Fri, Mar 24, 2017 at 1:13 PM, Bernard Quizon < bernard.qui...@stellarloyalty.com> wrote: > Hi, > > I was using versions phoenix-4.4.0-hbase-1.1 and phoenix-4.7.0-hbase-1.1

Re: Retiring empty regions

2017-03-24 Thread rafa
Hi, For everyone to know, Nick has published the script for retiring empty regions in : https://issues.apache.org/jira/browse/HBASE-15712 Nick, Thank you very much for your help and great work !!! Best Regards, Rafa. On Mon, Mar 6, 2017 at 5:49 PM, rafa wrote: > Hi Nick,

Paged Queries Not Working

2017-03-24 Thread Bernard Quizon
Hi, I was using versions phoenix-4.4.0-hbase-1.1 and phoenix-4.7.0-hbase-1.1 to test LIMIT and OFFSET But queries are resulting to errors: Samples: 0: jdbc:phoenix:localhost> SELECT * FROM A.SEGMENT ORDER BY field Limit 10 offset 10; Error: ERROR 602 (42P00): Syntax error. Missing "EOF" at line