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

CREATE TABLE should have option to delete storage when table is DROPped #24

Open
chipmaurer opened this issue Jul 2, 2021 · 0 comments

Comments

@chipmaurer
Copy link
Collaborator

chipmaurer commented Jul 2, 2021

With hive, you can create a table and point to the storage using location= or external_location=. If location= is used, the storage is deleted when the table is dropped (in hive or Presto). If you use external_location= with hive, and then drop the table, the objects for the table are left on the object store.

We will need to mimic this behavior. Currently, the S3 connector only supports tables created using 'external_location='. We need to also support 'location=' and delete the storage when those tables are dropped.

We should add this capability soon, since the intern summer project is creating tables on S3, and needs to be able to delete the storage when the tables are dropped.

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

1 participant