-
Notifications
You must be signed in to change notification settings - Fork 109
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
Incorrect error for batching #820
Comments
@piodul @MathieuDutSik . Did a little digging around and found the root cause, it's here when trying to parse the length of the statements into an Tried your example with It may be worthwhile to add this limitation to the documentation or enforce the limitation at the method call boundary 🤷 Another option could be to just change it to an |
From the java docs, it seems a batch statement can take 65536 statements |
Thank you for the report! It looks like the The CQL protocol spec says that the number of statements in a batch should be serialized as a 2-byte unsigned integer ( We are serializing the length as an
That would be great, thank you! |
Ok, will take a stab at it |
PR here: #824 |
I ran some batch with
30000
entries and it works correctly. With40000
it does not work. I am fine with that however, the errors appears incorrect. The error that occurs isThe code that is triggering it is
The text was updated successfully, but these errors were encountered: