As we all know, it is possible to use Databricks Column Tags in both schema.yml and as config. The documentation gives this example for apply the tag data_classification with the value public:
models:
- name: customers
columns:
- name: customer_id
databricks_tags:
data_classification: "public"
But how would I apply a valueless tag such as the governed tag class.phone_number?
I tried this
models:
- name: customers
columns:
- name: customer_id
databricks_tags:
class.phone_number
But it raised the error Runtime Error in model customers (models/customers.sql)
databricks_tags must be a dictionary
I also tried setting it to null
models:
- name: customers
columns:
- name: customer_id
databricks_tags:
class.phone_number: ~
But it raises the error.
ErrorClass=INVALID_PARAMETER_VALUE.INVALID_PARAMETER_VALUE] Tag value None is not an allowed value for tag policy key class.name. Allowed values: []
Could we document this to avoid having to guess?
As we all know, it is possible to use Databricks Column Tags in both schema.yml and as config. The documentation gives this example for apply the tag data_classification with the value public:
But how would I apply a valueless tag such as the governed tag class.phone_number?
I tried this
But it raised the error Runtime Error in model customers (models/customers.sql)
databricks_tags must be a dictionary
I also tried setting it to null
But it raises the error.
ErrorClass=INVALID_PARAMETER_VALUE.INVALID_PARAMETER_VALUE] Tag value None is not an allowed value for tag policy key class.name. Allowed values: []
Could we document this to avoid having to guess?