Repository navigation
Add check for calls to cache_key_wrapper - #8128
Merged
Merged
Conversation
etr2460
approved these changes
Aug 27, 2019
etr2460
left a comment
Member
There was a problem hiding this comment.
a couple comments, but lgtm otherwise. Thanks for the quick fix!
6 tasks
cccs-rc
pushed a commit
to CybercentreCanada/superset
that referenced
this pull request
Mar 6, 2024
* Add check for calls to cache_key_wrapper to avoid unavoidable compilation of query * Add fetch_values_predicate to check * Only check relevant attributes * Address nit
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
* Add check for calls to cache_key_wrapper to avoid unavoidable compilation of query * Add fetch_values_predicate to check * Only check relevant attributes * Address nit
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CATEGORY
Choose one
SUMMARY
This PR adds a check to see if any component of
query_objcontains calls tocache_key_wrapper(). If not, the query is not compiled if it is already cached.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
CI
ADDITIONAL INFORMATION
REVIEWERS
@etr2460