Re: Hbase Timestamp Queries

2015-06-10 Thread Krishna Kalyan
Hi Talat, That should should work. Another example would be something like below. test = LOAD '$TEST' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('cf_data:name cf_data:age', '-loadKey true -maxTimestamp $test_date') as (age); On Wed, Jun 10, 2015 at 12:57 PM, Talat Uyarer

Re: Hbase Timestamp Queries

2015-06-10 Thread Talat Uyarer
Hi Ted Yu, I guess Krishna mention about Pig's HBaseStorage class. I found out this by searching the class on google. IMHO I find a solution for my problem. I can use Scan.setTimeRange[0] method. If I want to get smaller records from timestamp, minTimestamp is set 0 and maxtimestamp is set the

Re: Hbase Timestamp Queries

2015-06-09 Thread Krishna Kalyan
Yes you can. Have a look at the HBaseStorage class. On 9 Jun 2015 1:04 pm, Talat Uyarer ta...@uyarer.com wrote: Hi, Can I use HBase's timestamps to gettting rows greater/smaller than this timestamp . Is it possible ? Thanks -- Talat UYARER Websitesi: http://talat.uyarer.com Twitter:

Hbase Timestamp Queries

2015-06-09 Thread Talat Uyarer
Hi, Can I use HBase's timestamps to gettting rows greater/smaller than this timestamp . Is it possible ? Thanks -- Talat UYARER Websitesi: http://talat.uyarer.com Twitter: http://twitter.com/talatuyarer Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304

Re: Hbase Timestamp Queries

2015-06-09 Thread Ted Yu
Is HBaseStorage class in hbase repo ? I can't find it in 0.98 or hbase-1 branches. Cheers On Tue, Jun 9, 2015 at 3:51 AM, Krishna Kalyan krishnakaly...@gmail.com wrote: Yes you can. Have a look at the HBaseStorage class. On 9 Jun 2015 1:04 pm, Talat Uyarer ta...@uyarer.com wrote: Hi,