Semantic Bridge How-Tos
These how-tos are focused on interacting with the Databricks Metric View object model and supporting import workflows to bring these Metric Views into a Tabular semantic model.
Getting Started
- Load and Inspect a Metric View: Load a Metric View and explore its structure
- Import a Metric View from a File: Import a Metric View directly from a YAML file
- Import a Metric View and View Diagnostics: Import a loaded Metric View to Tabular and view diagnostics
Validation
- Validate a Metric View with Default Rules: Validate with built-in rules
- Create Simple Validation Rules: Create predicate-based validation rules for naming conventions
- Create Contextual Validation Rules: Create rules with cross-object checks, such as names reused across object types
Manipulating the Object Model
- Add an Object to a Metric View: Add objects to a Metric View and set their properties
- Remove an Object from a Metric View: Remove objects from a Metric View
- Rename Objects in a Metric View: Rename a field in a Metric View
Serialization
- Serialize a Metric View to YAML: Serialize a Metric View back to YAML
Troubleshooting
- Handle Common Failures: Handle invalid input, missing files, and imports that don't complete