Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing cassandra paging #169

Open
liorchaga opened this issue Aug 1, 2016 · 2 comments
Open

Testing cassandra paging #169

liorchaga opened this issue Aug 1, 2016 · 2 comments

Comments

@liorchaga
Copy link

Hi,
I'm trying to test async-paging with scassandra, using protocol V2.

I create a primeRequest that returns several rows, and set default fetch size to 1 in query options, however, the java client is clearly not using the MultiPage

Is paging not implemented in scassandra?

Lior

@tolbertam
Copy link
Contributor

Paging is not currently handled in scassandra, although I think it would be somewhat reasonable to add at some point.

Scassandra could inspect the fetch size of queries and return the appropriate number of rows, and set the paging state based on the index of the next row to return, then when the paging state is provided in the next query it could start from that row index.

@chbatey
Copy link
Member

chbatey commented Aug 1, 2016

Yeah not supported yet.

I think we could support it. It would be the first time we keep state about a request beyond the scope of a single query from the driver but totally doable.

PRs welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants