[ 
https://issues.apache.org/jira/browse/HBASE-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse Anderson updated HBASE-5946:
----------------------------------

    Status: Patch Available  (was: Open)

Diff again trunk revision 1471182.
                
> Thrift Filter Language documentation is inconsistent
> ----------------------------------------------------
>
>                 Key: HBASE-5946
>                 URL: https://issues.apache.org/jira/browse/HBASE-5946
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters, Thrift
>    Affects Versions: 0.92.1
>            Reporter: Alexander
>            Priority: Minor
>              Labels: filter, php, thrift
>
> Syntax: SingleColumnValueFilter(<compare operator>, '<comparator>', 
> '<family>', '<qualifier>), as described here: 
> http://hbase.apache.org/book/thrift.html is not correct.
> The correct syntax is: SingleColumnValueFilter('<family>', '<qualifier>', 
> <compare operator>, '<comparator>')
> Also, <comparator> parameter must always contain the comparator, e.g. binary: 
> or binaryprefix: etc. Without it (except PrefixFilter and maybe some other 
> filters) TSocket class throws TTransportException: TSocket read 0 bytes. 
> All examples in section 9.3.1.9. Individual Filter Syntax are written without 
> comparator.
> There also a typo: 
> in section 9.3.1.9.12 - Family Filter, syntax and example described for 
> QualifierFilter

--
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