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

Add additional parentheses for EqualNullSafe filter generation #1265

Merged

Conversation

tom-s-powell
Copy link
Contributor

#1166 added parentheses when joining multiple filters together. There were already surrounding parentheses for And Or and Not filters. This updates EqualNullSafe to also surround the two separate OR clauses.

At a minimum I feel this improves the readability of the generated filters. Unsure whether, as in the other PR, there is the risk of query correctness when multiple filters are combined together?

@davidrabinowitz
Copy link
Member

/gcbrun

@tom-s-powell
Copy link
Contributor Author

@davidrabinowitz were we okay to merge this?

@davidrabinowitz davidrabinowitz merged commit 885198d into GoogleCloudDataproc:master Aug 30, 2024
9 checks passed
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