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

Todd Lipcon commented on HBASE-4361:
------------------------------------

For reference, the correct way to specify this is:
scan 't1', { FILTER => "SingleColumnValueFilter('f1', 'col_a', >, 'binary:1')" }

But I had to read the code for 30 minutes to figure it out. We need lots of 
docs updates on the filter language.


> Certain filter expressions fail in the shell
> --------------------------------------------
>
>                 Key: HBASE-4361
>                 URL: https://issues.apache.org/jira/browse/HBASE-4361
>             Project: HBase
>          Issue Type: Bug
>          Components: filters, shell
>    Affects Versions: 0.92.0
>            Reporter: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.92.0
>
>
> Running the following in the shell hangs and then fails:
> {noformat}
> scan 't1', { FILTER => "SingleColumnValueFilter(">", '1', 'f1', 'col_a')" }
> {noformat}
> The error seems to be: org.jruby.exceptions.RaiseException: (NoMethodError) 
> undefined method `write' for true:TrueClass

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to