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

Cherry picks "Fix bug causing multiple nested nots to parse very slowly (#436)" for v0.1.7 release #441

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

alancai98
Copy link
Member

Refactors SqlParser.parseUnaryTerm so it does not attempt to
needlessly re-parse every sub-expression of the not unary operator.
This effect was cumulative, so that multiple nestings of not would
become pathologically slow.

(cherry picked from commit 6de9ca0)

This will be for the v0.1.7 release.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Refactors `SqlParser.parseUnaryTerm` so it does not attempt to
needlessly re-parse every sub-expression of the `not` unary operator.
This effect was cumulative, so that multiple nestings of `not` would
become pathologically slow.

(cherry picked from commit 6de9ca0)
@alancai98 alancai98 self-assigned this Sep 13, 2021
@alancai98 alancai98 merged commit dda9a9b into v0.1.7 Sep 13, 2021
@alancai98 alancai98 deleted the v0.1.7-cp-nested-nots-fix branch September 13, 2021 22:58
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.

3 participants