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

Better group by in actions archiver #12929

Merged
merged 2 commits into from May 19, 2018
Merged

Better group by in actions archiver #12929

merged 2 commits into from May 19, 2018

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented May 18, 2018

It looks like the same column is grouped here twice in those queries.

For example there is $select = "log_visit.%s as idaction and then there is $groupBy = "log_visit.%s"; so it seems unneeded to use $groupBy = "log_visit.%s, idaction"; which both refer to the same column.

Can someone confirm this?

cc @mattab

@tsteur tsteur added the Needs Review PRs that need a code review label May 18, 2018
@tsteur tsteur added this to the 3.5.1 milestone May 18, 2018
@diosmosis
Copy link
Member

Makes sense to me, I guess if the tests pass it's good to go

@diosmosis diosmosis merged commit 7f3e0c7 into 3.x-dev May 19, 2018
@diosmosis diosmosis deleted the actionsarchivegroupby branch May 19, 2018 01:19
@diosmosis diosmosis added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label May 19, 2018
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants