-
Notifications
You must be signed in to change notification settings - Fork 609
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
feat(caching): tie lifetime of cached tables to python refs #9477
Changes from 12 commits
807c814
337b8d1
d5b69eb
2ec9c37
ac546e0
50267dd
2ee5a37
e10f469
1f79e36
7578128
8c5f43a
860d47b
81163e9
9b3511d
002b330
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,8 +275,8 @@ def drop_view( | |
def _load_into_cache(self, name, expr): | ||
self.create_table(name, expr, schema=expr.schema(), temp=True) | ||
|
||
def _clean_up_cached_table(self, op): | ||
self.drop_table(op.name) | ||
def _clean_up_cached_table(self, name): | ||
self.drop_table(name) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We may want to pass There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
|
||
def execute( | ||
self, | ||
|
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.
I believe this can be deleted to just rely on the base
sql
backend implementation.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.
Done, and works