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 the result of aggregations to maintain duplicated "group by" fields #39174

Merged
merged 1 commit into from May 7, 2020

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented May 7, 2020

Actually that result is odd and hard to predictable result to me, but we
should not change the public behavior without deprecation cycle.

I had not intended to break any apps, so I've restored the behavior.

Fixes #39171.

Actually that result is odd and hard to predictable result to me, but we
should not change the public behavior without deprecation cycle.

I had not intended to break any apps, so I've restored the behavior.

Fixes rails#39171.
@kamipo kamipo merged commit b260c9f into rails:master May 7, 2020
@kamipo kamipo deleted the fix_group_by_result branch May 7, 2020 03:33
kamipo added a commit that referenced this pull request May 7, 2020
Fix the result of aggregations to maintain duplicated "group by" fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Different results when grouping by same column in 6.0.3
1 participant