Export to Ossie
export_to_ossieExports a Tableau published data source's semantic model as Apache Ossie YAML for portability across other BI and data tools, returning validation and loss details.
Instructions
Export a published data source's semantic model to Apache Ossie (formerly OSI) YAML, the
vendor-neutral format that Snowflake, dbt, Power BI, Databricks, Tableau Next and other tools
convert from. Returns ossie (the YAML text, to save as file_name), summary, validation
and losses (what could not be carried and what to fix by hand).
`datasource` is a PDS id (from list_sources) or a description of it. Logical tables become
datasets, fields become fields, row-level calcs become fields and aggregate calcs become
metrics; every calc keeps its Tableau formula and gains portable SQL when the translation is
exact. Semantic-context statements become ai_context. `default_aggregation_metrics` also turns
each measure's Tableau default aggregation into a metric (total_sales = SUM(sales)).
Always read `losses`: Tableau Knowledge has no physical table paths or join keys, so `source`
and `relationships` need filling in before the model is used elsewhere. See ossie_guide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | No | ||
| datasource | Yes | ||
| include_hidden | No | ||
| default_aggregation_metrics | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||