-
Notifications
You must be signed in to change notification settings - Fork 978
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
Clean up uploaded entities in Redshift offline store #1730
Clean up uploaded entities in Redshift offline store #1730
Conversation
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
Codecov Report
@@ Coverage Diff @@
## master #1730 +/- ##
==========================================
- Coverage 79.08% 79.02% -0.06%
==========================================
Files 80 80
Lines 6855 6895 +40
==========================================
+ Hits 5421 5449 +28
- Misses 1434 1446 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: achals, tsotnet The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Tsotne Tabidze tsotne@tecton.ai
What this PR does / why we need it: Currently uploaded Redshift entities are not cleaned up. They're left as random tables in Redshift. With this PR, the entities will not be uploaded during get_historical_features, but when you call to_X (e.g. to_df) on the returned RetrievalJob. At the same time, we'll clean up the uploaded entity table at the end of to_X call.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: