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

feat(web-analytics): Fix group by, remove date range #23367

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

robbie-c
Copy link
Member

@robbie-c robbie-c commented Jul 1, 2024

Problem

The sessions v2 table group by doesn't match the order by. This isn't likely to be causing problems but does go against best practice so fix it.

Additionally, we no longer need the date range condition

Changes

  • Change group by to match order by in sessions table v2
  • Remove date range condition

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Relies on existing tests passing

@robbie-c robbie-c changed the title Fix group by, remove date range feat(web-analytics): Fix group by, remove date range Jul 1, 2024
@robbie-c robbie-c force-pushed the feat/fix-order-by-in-sessions-v2 branch from a95eaed to 6436c62 Compare July 1, 2024 15:53
@robbie-c robbie-c marked this pull request as ready for review July 1, 2024 15:57
@robbie-c robbie-c requested a review from fuziontech as a code owner July 1, 2024 15:57
@robbie-c robbie-c enabled auto-merge (squash) July 1, 2024 16:15
Copy link
Member

@fuziontech fuziontech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@robbie-c robbie-c merged commit c7f3a82 into master Jul 1, 2024
87 checks passed
@robbie-c robbie-c deleted the feat/fix-order-by-in-sessions-v2 branch July 1, 2024 20:17
fuziontech pushed a commit that referenced this pull request Jul 2, 2024
* Fix group by, remove date range

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants