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

Cache ValidLinkableSpecResolver._get_joined_elements() #1435

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Oct 1, 2024

This PR caches retrieval of the joined elements of a measure as it can be called repeatedly when resolving the group-by items for a derived metric (or a simple metric that is common to many saved queries).

@cla-bot cla-bot bot added the cla:yes label Oct 1, 2024
@plypaul plypaul force-pushed the p--short-term-perf--10 branch 2 times, most recently from b99c22c to 8573028 Compare October 1, 2024 00:16
@plypaul plypaul marked this pull request as ready for review October 1, 2024 00:30
Copy link
Contributor

@courtneyholcomb courtneyholcomb left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from p--short-term-perf--09 to main October 2, 2024 05:24
@plypaul plypaul merged commit e2d674f into main Oct 2, 2024
11 checks passed
@plypaul plypaul deleted the p--short-term-perf--10 branch October 2, 2024 05:33
courtneyholcomb pushed a commit that referenced this pull request Oct 9, 2024
This PR caches retrieval of the joined elements of a measure as it can
be called repeatedly when resolving the group-by items for a derived
metric (or a simple metric that is common to many saved queries).
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.

2 participants