On Tue, Jul 7, 2009 at 6:26 AM, Jonathan Ellis <[email protected]> wrote:
> > also the value i pass to offset gets passed to cassandra as limit, is > this > > expected? > > > not sure what you mean. > for the function get_slice, there is an argument *offset*. what does that do? whatever value i pass to it, the cassandra server receives it as the argument *limit*? this is the python code: >>> client.get_slice(tablename='Table1', key='1', columnParent='Standard1', start='', finish='', isAscending=True, *offset=-1*, count=1000) this is the debug log from cassandra. DEBUG - weakreadlocal reading SliceFromReadCommand(table='Table1', key='1', columnFamily='Standard1', isAscending='true', *limit='-1'*, count='1000') you can see that i passed the value -1 to offset and in the cassandra server log, it is received as the argument limit. offset and limit mean different things right? is this a problem in python client? or am i missing something here? thanks
