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

[FEATURE] Provide purge flag for databricks_schema #1576

Closed
neil90 opened this issue Aug 31, 2022 · 2 comments · Fixed by #1578
Closed

[FEATURE] Provide purge flag for databricks_schema #1576

neil90 opened this issue Aug 31, 2022 · 2 comments · Fixed by #1578
Labels
feature New feature or request

Comments

@neil90
Copy link

neil90 commented Aug 31, 2022

Currently when doing a terraform destroy if there are existing tables the schema can't be destroyed, it would be ideal if there was a purge flag so if when set to true it will go through and drop all tables in schema when its being destroyed. See databricks-cli for purge functionality https://docs.databricks.com/dev-tools/cli/unity-catalog-cli.html#delete-a-schema

@neil90 neil90 added the feature New feature or request label Aug 31, 2022
@nfx nfx added the wontfix This will not be worked on label Aug 31, 2022
@neil90
Copy link
Author

neil90 commented Aug 31, 2022

What would be best practice here then? use Provisioner on the databricks_schema resource that on when_destroy run a script that drops the tables?

@nfx nfx removed the wontfix This will not be worked on label Sep 1, 2022
@nfx
Copy link
Contributor

nfx commented Sep 1, 2022

Thank you for the feature request! Currently, the team operates in a limited capacity, carefully prioritizing, and we cannot provide a timeline to implement this feature. Please make a Pull Request if you'd like to see this feature sooner, and we'll guide you through the journey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
2 participants