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

cassandra ResultValue store values in more accurate types #908

Merged
merged 3 commits into from Nov 11, 2022

Conversation

rukai
Copy link
Member

@rukai rukai commented Nov 10, 2022

Improves our integration tests by enforcing the values returned by cassandra fit within types that better model the datatype and makes our assertions more readable.

Time represents time as an i64 - https://github.com/apache/cassandra/blob/d0e0e20f80f7d5a4b37d542b65f2a781ce1d3015/doc/native_protocol_v4.spec#L941
Date represents date as an u32 - https://github.com/apache/cassandra/blob/d0e0e20f80f7d5a4b37d542b65f2a781ce1d3015/doc/native_protocol_v4.spec#L885

@conorbros conorbros merged commit 5a1558b into shotover:main Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants