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

Duo Zhang commented on HBASE-16322:
-----------------------------------

Ah it is not allowed to specify columns for a raw scan...

{code:title=StoreScanner.java}
    if (columns != null && scan.isRaw()) {
      throw new DoNotRetryIOException("Cannot specify any column for a raw 
scan");
    }
{code}

I think we could add more checks here to disable other options such as filter.

And seems it is difficult to add deprecated annotations for scan on branch-1? 
We should not mark setFilter as Deprecated as we only do not want to use it 
together with raw scan... Is documentation enough for warning that a feature 
will be disabled in the next major release?

Thanks.

> Disable filter for raw scan
> ---------------------------
>
>                 Key: HBASE-16322
>                 URL: https://issues.apache.org/jira/browse/HBASE-16322
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>
> As we will pass delete markers to the filter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to