Skip to main content

Add Drop Notebooks

Enable to generate notebooks that will drop all existing tables in the workspace. Recommended for development environments only.

When enabled, the build generates a drop notebook per target database that issues DROP TABLE IF EXISTS for each generated table. Staged source objects and objects created from Source Create SQL are excluded. The notebooks are generated alongside the create and deploy notebooks and only take effect when run deliberately.

When to Change This Setting

Keep the default Y in development, where dropping and redeploying the model is a routine part of iterating. Disable it for production builds so no generated artifact is capable of dropping the warehouse tables.

SettingInteraction
Add Truncate NotebooksThe equivalent option for truncate notebooks

Notes

  • This setting is part of the Databricks settings category.
  • The default value for this setting is Y.