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

[sql] Replace GetQueryResults function #188

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

ricoberger
Copy link
Member

This commit replaces the GetQueryResults function used in the SQL
plugin with the implementation we are already using in the Clickhouse
plugin, so that we have a proper handling for float values.

Background: The original function would fail, when the SQL query
returned a float value with "NaN" or "Inf" as value, because then the
json encoding would fail.

This commit replaces the GetQueryResults function used in the SQL
plugin with the implementation we are already using in the Clickhouse
plugin, so that we have a proper handling for float values.

Background: The original function would fail, when the SQL query
returned a float value with "NaN" or "Inf" as value, because then the
json encoding would fail.
@ricoberger ricoberger merged commit ad6aa01 into main Oct 25, 2021
@ricoberger ricoberger deleted the sql-replace-getqueryresults-implementation branch October 25, 2021 19:57
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.

1 participant