Skip to content

Suppress selection item aliasing for the actual count query #3553

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

Closed
wants to merge 3 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Aug 1, 2024

We now no longer apply count selection filtering but rather skip select field aliasing when rendering a count query to drop the field alias within a count query.

Previously, we removed field aliasing by filtering the token stream, which also removed the AS keyword from cast operators.

Closes #3536

mp911de added 3 commits August 1, 2024 09:46
We now no longer apply count selection filtering but rather skip select field aliasing when rendering a count query to drop the field alias within a count query.

Previously, we removed field aliasing by filtering the token stream which also removed the AS keyword from cast operators.
Fix typos, move QueryTransformers.filterCountSelection to CountSelectionTokenStream.create.
@mp911de mp911de added the type: regression A regression from a previous release label Aug 1, 2024
@mp911de mp911de added this to the 3.2.9 (2023.1.9) milestone Aug 1, 2024
christophstrobl pushed a commit that referenced this pull request Aug 9, 2024
We now no longer apply count selection filtering but rather skip select field aliasing when rendering a count query to drop the field alias within a count query.

Previously, we removed field aliasing by filtering the token stream which also removed the AS keyword from cast operators.

Closes: #3536
Original Pull Request: #3553
christophstrobl pushed a commit that referenced this pull request Aug 9, 2024
We now no longer apply count selection filtering but rather skip select field aliasing when rendering a count query to drop the field alias within a count query.

Previously, we removed field aliasing by filtering the token stream which also removed the AS keyword from cast operators.

Closes: #3536
Original Pull Request: #3553
christophstrobl pushed a commit that referenced this pull request Aug 9, 2024
Fix typos, move QueryTransformers.filterCountSelection to CountSelectionTokenStream.create.

Original Pull Request: #3553
christophstrobl pushed a commit that referenced this pull request Aug 9, 2024
We now no longer apply count selection filtering but rather skip select field aliasing when rendering a count query to drop the field alias within a count query.

Previously, we removed field aliasing by filtering the token stream which also removed the AS keyword from cast operators.

Closes: #3536
Original Pull Request: #3553
@christophstrobl
Copy link
Member

Merged to main and back ported to 3.3.x and 3.2.x.

@christophstrobl christophstrobl deleted the issue/3536-alt branch August 9, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Сan no longer use distinct and cast(... as ...) together
2 participants