-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Disallow query cache for queries with non-throw overflow mode #69549
Disallow query cache for queries with non-throw overflow mode #69549
Conversation
This is an automated comment for commit 5fe5cc8 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
Tests are good (settings changes not reflected in history is unrelated) |
c9dd409
Is it possible to still cache the result if we dont throw? |
No. I pushed a follow-up which will forbid using the query cache and non-throw overflow mode together. |
Resolves #67476
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Usage of the query cache for queries with an overflow mode != 'throw' is now disallowed. This prevents situations where potentially truncated and incorrect query results could be stored in the query cache. (issue #67476)