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

Don't fail when decoding empty strings as floats in server responses #117

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

nineinchnick
Copy link
Member

Fixes #116

I'm still not sure if the root cause is an empty string, that's why this is a draft.

@eladitzhakian
Copy link

This is a major issue in a project I'm working on ☝️

@nineinchnick
Copy link
Member Author

@eladitzhakian can you help with providing some reproduction steps? The test I added here is very synthetic.

@eladitzhakian
Copy link

@nineinchnick in our use case it happens when trino is OOM while spawning a new query. set -Xmx to a relatively low value then execute a query

@eladitzhakian
Copy link

@nineinchnick any chance to push this for the next release? 🙏

@nineinchnick
Copy link
Member Author

I don't think so, the work here stalled. I don't have a good reproduction of the issue.

@nineinchnick nineinchnick marked this pull request as ready for review August 24, 2024 09:20
@nineinchnick nineinchnick merged commit 806af86 into trinodb:master Aug 24, 2024
5 checks passed
@nineinchnick nineinchnick deleted the decode-float branch August 24, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Queries sometimes fail when decoding progress percent in the response
2 participants