-
Notifications
You must be signed in to change notification settings - Fork 1
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
relation: Add .readyset_explain #62
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General feedback and a single question about relation_extension
.
@helpotters Ready for another pass! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know what you think!
Resolve at your discretion, but aside from two minor typos and a possible refactor consideration, it's good to go.
This commit adds a `.readyset_explain` method to our relation extension. This method invokes `EXPLAIN CREATE CACHE` upstream on ReadySet and returns information about the query from ReadySet.
This commit adds two rake tasks: - `readyset:caches:dump`, which reads the caches that exist on the connected ReadySet instance and dumps them to a Ruby DSL file - `readyset:caches:migrate`, which reads the aforementioned Ruby file, create the caches from the file that don't exist on ReadySet, and drops the caches on ReadySet that don't exist in the file Closes #9
@helpotters Ready for another pass! |
This commit adds a
.readyset_explain
method to our relation extension.This method invokes
EXPLAIN CREATE CACHE
upstream on ReadySet andreturns information about the query from ReadySet.
Closes #44