[
https://issues.apache.org/jira/browse/HBASE-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886036#action_12886036
]
HBase Review Board commented on HBASE-2793:
-------------------------------------------
Message from: "Kannan Muthukkaruppan" <[email protected]>
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.hbase.org/r/268/
-----------------------------------------------------------
(Updated 2010-07-07 12:01:55.533222)
Review request for hbase.
Changes
-------
* Removed specialized check for TimestampsFilter in ScanQueryMatcher for
narrowing down time range. (Will do that optimization once Pranav's changes
(for HBase-2265) are in-- by allowing Filters to participate in
StoreFileScanner.shouldSeek() check. Each filter should be able to participate
in shouldSeek() to avoid seeking into unnecessary files.).
* Enhanced test by throwing in some version deletes in the mix.
Summary
-------
Discussion up in https://issues.apache.org/jira/browse/HBASE-2793.
Using the Filter approach as discussed.
This addresses bug HBASE-2793.
http://issues.apache.org/jira/browse/HBASE-2793
Diffs (updated)
-----
trunk/src/main/java/org/apache/hadoop/hbase/filter/Filter.java 960691
trunk/src/main/java/org/apache/hadoop/hbase/filter/TimestampsFilter.java
PRE-CREATION
trunk/src/main/java/org/apache/hadoop/hbase/regionserver/ScanQueryMatcher.java
960691
trunk/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java
PRE-CREATION
Diff: http://review.hbase.org/r/268/diff
Testing
-------
The new unit test for TimestampsFilter passes. Running unit tests right now.
Thanks,
Kannan
> Add ability to extract a specified list of versions of a column in a single
> roundtrip
> -------------------------------------------------------------------------------------
>
> Key: HBASE-2793
> URL: https://issues.apache.org/jira/browse/HBASE-2793
> Project: HBase
> Issue Type: New Feature
> Reporter: Kannan Muthukkaruppan
> Assignee: Kannan Muthukkaruppan
> Attachments: 2793_patch_v1.txt, 2793_patch_v2.txt
>
>
> In one of the use cases we were looking at, each row contains a single
> column, but with several versions (e.g., each version representing an event
> in a log), and we want to be able to extract specific set of versions from
> the row in a single round-trip.
> Currently, on a Get, one can retrieve a specific version of a column using
> setTimeStamp(ts) or a range of versions using setTimeRange(min, max). But not
> a set of specified versions. It would be useful to add this ability.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.