Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 03:34 AM
Hi @sandy311 ,
Yes, since databricks assets bundles are based on GO templating mechanism you can leverage that. So you can do following:
Solved: Asset Bundles : how to conditionally set content o... - Databricks Community - 77236
---
version: "1.0"
{{- if .topic_sourcing }}
status: enabled
topics:
- name: "my-name"
table_name: "my-tablename"
{{- else }}
status: disabled
{{- end }}