databricks / mlops-stacks

This repo provides a customizable stack for starting new ML projects on Databricks that follow production best-practices out of the box.
https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html
Apache License 2.0
416 stars 141 forks source link

Define schemas as a resource #123

Closed skaliy closed 7 months ago

skaliy commented 8 months ago

How should we define schemas as a resource? I had some difficulties with creating a schema. Does DAB support schemas as a resource type?

resources:
  schemas:
    schema:
      name: my-mlops-project
      catalog_name: ${bundle.target}
      comment: Schema for the "example-project" ML Project for ${bundle.target} deployment target.
arpitjasa-db commented 8 months ago

Hi @skaliy DAB does not currently support schema as a resource type. I'd suggest using Terraform or creating the schema beforehand via the UI/API