You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2007/12/03 22:57:43 UTC

[jira] Updated: (HADOOP-2299) [hbase] Support inclusive scans

     [ https://issues.apache.org/jira/browse/HADOOP-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury updated HADOOP-2299:
----------------------------------

    Attachment: inclusive-stop-row.patch

Adds implementation of InclusiveStopRowFilter and a matching unit test.

> [hbase] Support inclusive scans
> -------------------------------
>
>                 Key: HADOOP-2299
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2299
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: Bryan Duxbury
>            Priority: Trivial
>         Attachments: inclusive-stop-row.patch
>
>
> The existing scanner interface excludes the end key from the result range. If you actually want to do an inclusive scan for some reason, you would currently have to guess at the key immediately after the end key, which is a shoddy solution. 
> A new stoprow filter could be created that stops at the end key but also returns it. Then, you could supply an extra parameter to getScanner to say you want an inclusive scan.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.