Hi Frank,

please check the issue for an update.

bye
Christoph

On Thursday, November 15, 2012 8:37:54 PM UTC+1, Christoph Rupp wrote:
>
> Hi Frank,
>
> this could be a bug in the ThriftBroker. I filed issue 974 and will have a 
> look. I'll try to fix it for the next release.
>
> http://code.google.com/p/hypertable/issues/detail?id=974
>
> bye
> Christoph
>
> 2012/11/15 Frank Zhou <[email protected] <javascript:>>
>
>> when I use java apis to search data from hypertable , there are some 
>> problem:
>> I set ColumnPredicate and set columns like this:
>>
>> // set column predicates
>>  ColumnPredicate cp = new ColumnPredicate();
>> cp.setColumn_family("age");
>> cp.setOperation(ColumnPredicateOperation.PREFIX_MATCH);
>>  cp.setValue("3");
>> scan_spec.addToColumn_predicates(cp);
>>  //set columns
>> scan_spec.addToColumns("name");
>> scan_spec.addToColumns("age");
>>
>> but the result only contain one column 'age':
>>
>> rowkey: 01
>> family: age
>> qualifier: 
>> value: 30
>>
>> The table is like this:
>> create table user (name, age, index age);
>>
>> data is like this:
>> 01      name    zhou
>> 01      name:nakename   san
>> 01      age     30
>>
>>
>> but when using C++ apis, it can return column "age" and "name".
>> Is there any bugs about the java thrift apis?
>> How to make java return all columns I need?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Hypertable Development" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/hypertable-dev/-/2G92QePVEPwJ.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/hypertable-dev/-/ibWTpsOLF1EJ.
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