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

Fix USING TIMEOUT time generation #299

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

dkropachev
Copy link
Collaborator

@dkropachev dkropachev commented Jan 27, 2025

Scylla does not support fractions.
Currently following code: Timeout(time.Second + 100*time.Millisecond) will result in USING TIMEOUT 1.1s, which does not match what scylla expects and it fails.

We need to make sure that time is formatted the following way: XmYsZms

Fixes: #298

Scylla does not support fractions.
We need to make sure that time is formatted the following way: XmYsZms
@dkropachev dkropachev force-pushed the dk/fix-using-timeout branch from 3e6319d to 9f35e38 Compare January 27, 2025 14:44
@dkropachev dkropachev merged commit 2f79f86 into master Jan 27, 2025
1 check passed
@dkropachev dkropachev deleted the dk/fix-using-timeout branch January 27, 2025 15:22
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.

Query fails when using timeout more than 1 second but non-whole integer
2 participants