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(sql): fix disconnect on sql case statement with one condition and no else #3397

Merged
merged 9 commits into from
Jun 9, 2023

Conversation

bziobrowski
Copy link
Contributor

@bziobrowski bziobrowski commented May 24, 2023

Fixes #3376
Fixes #3297
Fixes #3445

PR fixes internal exception and disconnect happening when executing sql with case that has on condition and no else clause.
It also catches and releases sequence/cursor on any exception in $ ( Object ) and $ ( Sinkable ) methods to avoid blocking the log message queue.

@ideoma
Copy link
Collaborator

ideoma commented Jun 9, 2023

[PR Coverage check]

😍 pass : 35 / 37 (94.59%)

file detail

path covered line new line coverage
🔵 io/questdb/griffin/model/ExpressionNode.java 11 12 91.67%
🔵 io/questdb/log/Logger.java 11 12 91.67%
🔵 io/questdb/griffin/SqlParser.java 6 6 100.00%
🔵 io/questdb/griffin/ExpressionParser.java 7 7 100.00%

@bluestreak01 bluestreak01 merged commit 601f395 into master Jun 9, 2023
21 checks passed
@bluestreak01 bluestreak01 deleted the bz_fix_case_function branch June 9, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants