Re: Thrift Python client with regex

2012-10-19 Thread Stack
On Thu, Oct 18, 2012 at 7:13 PM, Norbert Burger wrote: > We had the same question earlier. Unfortunately the documentation is > wrong on this account; scannerOpen resolves to either a call to > scan.addFamily or scan.addColumn, and neither directly supports regex > matching. > > Regex pattern mat

Re: Thrift Python client with regex

2012-10-18 Thread Norbert Burger
We had the same question earlier. Unfortunately the documentation is wrong on this account; scannerOpen resolves to either a call to scan.addFamily or scan.addColumn, and neither directly supports regex matching. Regex pattern matching against colquals is definitely supported on the Java side, so

Thrift Python client with regex

2012-10-18 Thread Kumar, Suresh
I am using Thrift (0.8.0) to get scan column values from a table. This code returns all the values. columns = ['mylog'] scanner = client.scannerOpen('apachelogs','', columns) result = client.scannerGet(scanner) while result: printRow(result[0]) result = client.scannerGet(scanner) p