Closed pandaxtc closed 5 months ago
I'm not fully versed on the test suite, but it might be best to test that the union now has parentheses instead of deleting the previous test. No harm in double checking
Gotcha, just added the tests back.
@AzisK Could you run the test suite?
@AzisK I hope all is going well! Would we be able to get this in as well? Looks like a small, useful change to include in a release if one is anticipated soon. 😄
Looks good to me
Add parens around set operations for MySQL. Fixes https://github.com/kayak/pypika/issues/773.
Note that I removed the tests for checking no parens for MySQL, since adding back the parens brings the behavior in line with the default. I assume the tests are for checking that the behavior is not default. Let me know if the tests should be added back.