Skip to content

Remove unneeded table from query when querying conversions by page view to increase performance #20272

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

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jan 26, 2023

Description:

@bx80 see L3-13 comment there. It looks like the tests pass but maybe there was something else around segments that could break not covered by tests?

Review

@tsteur tsteur added the Needs Review PRs that need a code review label Jan 26, 2023
@tsteur tsteur added this to the 4.13.3 milestone Jan 26, 2023
@tsteur tsteur requested a review from bx80 January 26, 2023 19:12
@sgiehl sgiehl modified the milestones: 4.13.3, 4.13.4 Jan 30, 2023
@sgiehl sgiehl force-pushed the checktablenotused branch from 86712bf to 2dfc2ea Compare January 30, 2023 14:02
@sgiehl sgiehl force-pushed the checktablenotused branch from 2dfc2ea to 345b8b5 Compare January 31, 2023 15:43
Copy link
Contributor

@bx80 bx80 left a comment

Choose a reason for hiding this comment

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

The archiving errors I mentioned in L3-313 when testing removing the table were actually caused by a malformed segment in my local data, I saw the word "subquery" in the error and incorrectly assumed the table removal was the cause 🤦‍♂️

All the tests pass and the generated query (without the log_visit table) works with segments when manually run along with the create segment temp table queries. 👍

@bx80 bx80 merged commit c4e46c0 into 4.x-dev Feb 1, 2023
@bx80 bx80 deleted the checktablenotused branch February 1, 2023 04:32
@bx80 bx80 added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Mar 16, 2023
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.
Development

Successfully merging this pull request may close these issues.

3 participants