hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5946) Thrift Filter Language documentation is inconsistent
Date Sat, 05 May 2012 13:33:50 GMT
Alexander created HBASE-5946:

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

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 Individual Filter Syntax are written without comparator.

There also a typo: 
in section - 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message