8000 Add cacheability information to optimization rules by Rob2U · Pull Request #2698 · hyrise/hyrise · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add cacheability information to optimization rules #2698

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

Draft
wants to merge 2 commits into
base: j-hellenberg/maintain_data_dependencies
Choose a base branch
from

Conversation

Rob2U
Copy link
Contributor
@Rob2U Rob2U commented Apr 30, 2025

We only want Hyrise to cache query plans that will stay valid over time because using a (logical or physical) plan that becomes invalid could cause wrong results. Plans might turn invalid if they depend on temporary data patterns, like non-permanent UCCs found by the UccDiscoveryPlugin, or on related rules (FDs) based on those patterns.

To avoid this, each optimization rule tells Hyrise whether the resulting plan is safe to store in the cache.

Note: This PR relies on #2599. We could also skip this and only depend on master but then #2600 would become messy because it relies on both cacheability information (this PR) and non-permanent UCCs (#2599).

Rob2U added 2 commits April 30, 2025 16:12
… and move enabling of cacheability here (+add time-dependant FDs here)
… depending on it (this functionality is now part #2600)
@Rob2U Rob2U self-assigned this Apr 30, 2025
@Rob2U Rob2U marked this pull request as draft May 5, 2025 13:09
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.

1 participant
0