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

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