Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC49A104F3 for ; Mon, 21 Oct 2013 06:06:00 +0000 (UTC) Received: (qmail 20750 invoked by uid 500); 21 Oct 2013 06:05:54 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 20701 invoked by uid 500); 21 Oct 2013 06:05:53 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 20690 invoked by uid 99); 21 Oct 2013 06:05:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 06:05:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jtaylor@salesforce.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-la0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 06:05:46 +0000 Received: by mail-la0-f43.google.com with SMTP id el20so2334478lab.30 for ; Sun, 20 Oct 2013 23:05:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=jVXfciql6Uwn4fIj8XqAipYt1DjgR7DjwiBLGovm7JQ=; b=O8ZLXpfQzXhKELaq0F2ADqZsAXEGLtjUDFcTFoUbdWr5a2/50wQQYQahCvrJOdWcfw mu2UDuzirHjKZCt6dUGjQdG8CF2KVQ4CJ6g0mEzypcq2RkupgdSKnvAPz5PW8HPp4ZFe YDSaNGQJ3MttZDvZvT8fnLbQ2/bBXTfc/1HDU/vhXdQSLYKK6vQnm1PbZCkOD3Wl1eUv AWwQbSyXGTG1V2Ol266O4vtptnM1ccOBCzY15BDPs6oPBICn8xZxS3KxuEC2RJ1VwlGM 26wfYoorUr2e8aM0Cy0HAtLCCvcaZnjmlS2UWzIeK4TObSh+BPz0rEPNvx9QRmCZvKEF 1QuA== X-Gm-Message-State: ALoCoQlC8TjvVGMbHAd5ILVrcLwAjEYh5980ZxlHVuv5hMsxNlYRE1pGROEDBcCzSsL4Aqn515nf MIME-Version: 1.0 X-Received: by 10.112.72.229 with SMTP id g5mr12223821lbv.10.1382335524984; Sun, 20 Oct 2013 23:05:24 -0700 (PDT) Received: by 10.114.29.37 with HTTP; Sun, 20 Oct 2013 23:05:24 -0700 (PDT) In-Reply-To: References: <1328812425.45012.YahooMailNeo@web121703.mail.ne1.yahoo.com> <1328814206.80929.YahooMailNeo@web121704.mail.ne1.yahoo.com> Date: Sun, 20 Oct 2013 23:05:24 -0700 Message-ID: Subject: Re: row filter - binary comparator at certain range From: James Taylor To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c238e8ed732e04e93a11d5 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c238e8ed732e04e93a11d5 Content-Type: text/plain; charset=ISO-8859-1 Take a look at Phoenix(https://github.com/forcedotcom/phoenix). It supports both salting and fuzzy row filtering through its skip scan. On Sun, Oct 20, 2013 at 10:42 PM, Premal Shah wrote: > Have you looked at FuzzyRowFilter? Seems to me that it might satisfy your > use-case. > > http://blog.sematext.com/2012/08/09/consider-using-fuzzyrowfilter-when-in-need-for-secondary-indexes-in-hbase/ > > > On Sun, Oct 20, 2013 at 9:31 PM, Tony Duan wrote: > > > Alex Vasilenko writes: > > > > > > > > Lars, > > > > > > But how it will behave, when I have salt at the beginning of the key to > > > properly shard table across regions? Imagine row key of format > > > salt:timestamp and rows goes like this: > > > ... > > > 1:15 > > > 1:16 > > > 1:17 > > > 1:23 > > > 2:3 > > > 2:5 > > > 2:12 > > > 2:15 > > > 2:19 > > > 2:25 > > > ... > > > > > > And I want to find all rows, that has second part (timestamp) in range > > > 15-25. What startKey and endKey should be used? > > > > > > Alexandr Vasilenko > > > Web Developer > > > Skype:menterr > > > mob: +38097-611-45-99 > > > > > > 2012/2/9 lars hofhansl > > Hi, > > Alexandr Vasilenko > > Have you ever resolved this issue?i am also facing this iusse. > > i also want implement this functionality. > > Imagine row key of format > > salt:timestamp and rows goes like this: > > ... > > 1:15 > > 1:16 > > 1:17 > > 1:23 > > 2:3 > > 2:5 > > 2:12 > > 2:15 > > 2:19 > > 2:25 > > ... > > > > And I want to find all rows, that has second part (timestamp) in range > > 15-25. > > > > Could you please tell me how you resolve this ? > > thanks in advance. > > > > > > Tony duan > > > > > > > -- > Regards, > Premal Shah. > --001a11c238e8ed732e04e93a11d5--