You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2012/12/15 03:02:12 UTC
[jira] [Created] (HBASE-7362) Scan.setRaw(true) ignores
Scan.setTimeRange(minTimestamp,maxTimestamp)
James Taylor created HBASE-7362:
-----------------------------------
Summary: Scan.setRaw(true) ignores Scan.setTimeRange(minTimestamp,maxTimestamp)
Key: HBASE-7362
URL: https://issues.apache.org/jira/browse/HBASE-7362
Project: HBase
Issue Type: Bug
Reporter: James Taylor
Priority: Minor
The following doesn't work as expected:
Scan scan = new Scan();
scan.setRaw(true);
scan.setTimeRange(10,20);
scan.setStartRow(new byte[] {1});
scan.setStopRow(new byte[] {2});
RegionScanner scanner = region.getScanner(scan);
List<KeyValue> results = new ArrayList<KeyValue>();
scanner.next(results);
// This assert will fail as the raw scan ignores the time range
assertTrue(results.isEmpty() || results.get(0).getTimestamp() >= 10);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira