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

Backport fix order by rendering for queries containing UNION #3630

Closed
mp911de opened this issue Oct 1, 2024 · 0 comments
Closed

Backport fix order by rendering for queries containing UNION #3630

mp911de opened this issue Oct 1, 2024 · 0 comments
Assignees
Labels
type: bug A general bug

Comments

@mp911de
Copy link
Member

mp911de commented Oct 1, 2024

Backport of #3427.

@mp911de mp911de added the type: bug A general bug label Oct 1, 2024
@mp911de mp911de added this to the 3.2.11 (2023.1.11) milestone Oct 1, 2024
@mp911de mp911de self-assigned this Oct 1, 2024
mp911de pushed a commit that referenced this issue Oct 1, 2024
Make sure to append space after order by clause and fix alias detection for wrapped sub select.
Also make sure to ignore alias used in subselect so they do not conflict with root ones.

Render order by only on full select if set operator is present in EQL.

Closes #3630
Original pull request: #3429
See #3427
mp911de pushed a commit that referenced this issue Oct 1, 2024
Make sure to append space after order by clause and fix alias detection for wrapped sub select.
Also make sure to ignore alias used in subselect so they do not conflict with root ones.

Render order by only on full select if set operator is present in EQL.

Closes #3630
Original pull request: #3429
See #3427
@mp911de mp911de closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant