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 wrap user query string in parenthesis #3967

Merged

Conversation

rodrigozhou
Copy link
Contributor

What changed?
Wrap user's query string in parenthesis right after query converter is done parsing.

Why?
I had wrapped later in the plugin query converter, but I noticed that TemporalNamespaceDivision condition could be added before, and it could affect the user's query if not wrapped in parenthesis.

How did you test it?
Writing query converter tests.

Potential risks
No risks.

Is hotfix candidate?
No.

@rodrigozhou rodrigozhou requested a review from a team as a code owner February 16, 2023 22:41
@rodrigozhou rodrigozhou merged commit cbed0fe into temporalio:master Feb 16, 2023
@rodrigozhou rodrigozhou deleted the sql-wrap-user-query-paren branch February 16, 2023 23:14
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.

2 participants