[ 
https://issues.apache.org/jira/browse/HBASE-7362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536822#comment-13536822
 ] 

Anoop Sam John commented on HBASE-7362:
---------------------------------------

James
       Not able to reproduce this issue. Can you attach a complete Junit test 
case which reveals the defect?
                
> 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

Reply via email to