Re: Can I use the Thrift API to scan with filters?

2014-11-25 Thread Néstor Boscán
Hi Thanks for the quick replies. I've tried to apply the filters but I get in the Thrift server log screen: SingleColumnValueFilter('familycolumn', 'column', =, 'value') = Invalid comparator SingleColumnValueFilter('familycolumn', 'column', EQUAL, 'value') = Invalid comparator

Re: Can I use the Thrift API to scan with filters?

2014-11-24 Thread Bharath Vissapragada
Yes, you can. Did you try the scannerOpenWithScan() call? It takes a TScan as input and you can build it with a filterString. Closest examples I could find are [1] and [2] but I believe its not difficult to extend these. [1]

Re: Can I use the Thrift API to scan with filters?

2014-11-24 Thread Stack
On Mon, Nov 24, 2014 at 6:06 PM, Bharath Vissapragada bhara...@cloudera.com wrote: Yes, you can. Did you try the scannerOpenWithScan() call? It takes a TScan as input and you can build it with a filterString. Closest examples I could find are [1] and [2] but I believe its not difficult to