Issue 373 was created to refactor the logic into the clients. The
logic in HqlParse.h is basically finding the non-inclusive end_row by
adding 1 to the last non-0xff byte.

The logic is non-trivial and should not be in HqlParser.h in the first place.

On Wed, Jan 20, 2010 at 10:20 AM, Stanislav Yudin <[email protected]> wrote:
> Thanks Sanjit, but this is not a solution. I don't know what should be "bas"
> in my case, since all I have is a predicate for row key, so I have to supply
> something like "barXXXXXXXX..." as end row, which should be the last posible
> key with such predicate. What I am looking for is the same logic as in
> src/cc/HyperTable/Lib/HqlParser.h:783 onwards (which looks like black magic
> for me). Can you explain what is going on in HqlParser.h? I am using thrift
> bindings for python.
> On Wed, Jan 20, 2010 at 10:24 PM, Sanjit Jhala <[email protected]> wrote:
>>
>> Hi Stanislav,
>>
>> Suppose you want to set up a scanner that returns all rows starting with
>> "bar". Setup a scanner with the row interval start_row = 'bar', end_row =
>> 'bas', start_inclusive = true, end_inclusive = false.
>>
>> Btw are you using the Thrift interface or the C++ client?
>>
>> -Sanjit
>>
>> On Wed, Jan 20, 2010 at 4:40 AM, Stanislav Yudin <[email protected]> wrote:
>>>
>>> Hello everyone,
>>> I wonder what is the best way to setup ScanSpec which would do the same
>>> as =^ (or RELOP_SW) operator in HQL?
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Hypertable Development" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/hypertable-dev?hl=en.
>>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Hypertable Development" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/hypertable-dev?hl=en.
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hypertable Development" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hypertable-dev?hl=en.
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en.


Reply via email to