[
https://issues.apache.org/jira/browse/HBASE-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack reassigned HBASE-5946:
----------------------------
Assignee: Jesse Anderson
Assigning Jesse.
> 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
> Assignee: Jesse Anderson
> Priority: Minor
> Labels: filter, php, thrift
> Fix For: 0.98.0, 0.95.1
>
> Attachments: HBASE-5946.diff
>
>
> 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