Open benc-db opened 5 months ago
Isn't this handled by --vars '{DATABRICKS_SKIP_OPTIMIZE: true}'
? If we create another way to do it I'd be all for it, as the current vars
argument is a pain, especially if a databricks workflow with a dbt task, but functionality-wise I thought we had this already.
Oh yeah! I had forgotten that existed, but I do think it would be better to opt out on the config level.
I support this being on the config level especially as databricks now offers predictive optimization which runs optimize automatically as needed.
Config level would a lot easier for larger projects running many models with different requirements and/or writing to different catalogs where on only some the predictive optimization is enabled.
Describe the feature
Users want to capability to schedule their own optimize runs.
Describe alternatives you've considered
Currently dbt-databricks runs it after every call to merge in data, but some users would rather schedule out of band
Who will this benefit?
Users than update incremental tables frequently and want to batch optimize