Skip to content
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

Automatically remove MDS temp tables #109

Open
ian-r-rose opened this issue Nov 26, 2019 · 0 comments
Open

Automatically remove MDS temp tables #109

ian-r-rose opened this issue Nov 26, 2019 · 0 comments
Assignees

Comments

@ian-r-rose
Copy link
Contributor

Occasionally a dockless ETL task fails (sometimes due to network/HTTP/server errors, sometimes due to others), leaving temp tables (cf. #68) hanging around.

We should automate the removal of these. I see two strategies:

  1. Upstream a patch to mds-provider that auto-drops them even if the ingest fails. There could be an argument for keeping them around for forsenic reasons, but I likely wouldn't trust them much in practice.
  2. Make a new dag that automates dropping them, running perhaps monthly or weekly.

I'd lean towards option one, though they are not really mutually exclusive.

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

No branches or pull requests

2 participants