How to Turn a Governed Data Product Into a Snowflake Semantic View With Apache Ossie
To turn a governed data product into a Snowflake semantic view, export it from Dawiso as an Apache Ossie YAML file and run that file through Snowflake's SYSTEM$CREATE_SEMANTIC_VIEW_FROM_OSSIE_YAML procedure. The semantic view then describes the same tables, columns and relationships the data product does, so Cortex Analyst and Cortex agents read a structure your data owners have already agreed on. Today the export runs on demand, and automatic updates that push every change to the target platform are in preview.
Apache Ossie, the open standard formerly called Open Semantic Interchange (OSI), lets one tool hand a semantic model to another. Dawiso uses it to export a data product as an Ossie YAML file that describes the tables, columns and foreign-key relationships behind its output ports. Snowflake turns that file into a semantic view with one procedure call, and Dawiso's API can build the call for you. The export runs on demand today; automatic updates, which push every change to the data product to the target platform, are in preview.
Why Semantic Views Need a Governed Source
A semantic view is only as good as the definitions inside it. Snowflake's Cortex Analyst and Cortex agents read semantic views to understand which tables belong together and how they join, so a view built by hand in one team's worksheet becomes the truth for every agent pointed at it. When a second team builds its own view over the same tables, the two drift apart, and nobody can say which one an agent should trust. Snowflake's own best practices for semantic views assume they are designed iteratively and managed as part of a data engineering pipeline or a data product.
A data product already answers those questions. It has an owner, an approved description and output ports that name the exact tables it publishes. Exporting that structure, instead of rebuilding it in Snowflake, means the semantic view starts from what the business agreed on. Apache Ossie is the format that makes the hand-off possible: a vendor-neutral YAML document that Snowflake and other tools can read, which entered the Apache Incubator in July 2026 under its new name.
Ways to Build a Snowflake Semantic View
A data product export is one of several ways to get a semantic view into Snowflake. They differ mainly in where the definition starts and who approves it, and many teams combine them.
| Approach | Where the definition starts | Best when | Watch out for |
|---|---|---|---|
| Hand-built in Snowflake | SQL or YAML written directly in Snowflake | One team owns one well-understood model | Views built by different teams over the same tables drift apart |
| Semantic View Autopilot | Generated by Snowflake from existing queries and BI assets (generally available since February 2026) | You need a first draft quickly | A generated model still needs someone to review and approve it |
| dbt via Apache Ossie | Semantic models and metrics in dbt YAML, written out as Ossie and loaded into Snowflake | Analytics engineers manage metrics as code in Git | Business ownership and approval happen outside dbt |
| Dawiso data product via Apache Ossie | A data product with an owner, an approved description and output ports | The structure must match what the business has agreed on | Metric formulas are not part of the export |
The approaches are not exclusive. A team can take its tables and relationships from the governed data product and keep its metric formulas in dbt or in the view, as long as everyone knows which tool owns which part.
What Dawiso Exports to Apache Ossie
The export describes the output ports of the selected data products: the tables and columns each port publishes and the foreign-key relationships between those tables. That is the structure a semantic view needs to join the data correctly. Some things stay out of the file on purpose:
| Part of the data product | In the Ossie file | What it means for you |
|---|---|---|
| Tables and columns on output ports | Included | The semantic view covers exactly what the data product publishes. |
| Foreign-key relationships between those tables | Included | Joins come from the documented model. |
| Tables and columns the person exporting cannot read | Left out | An export never reveals more than its author may see. Run it with a role that can read the whole product. |
| Output ports with no tables attached | Skipped | Attach tables to every port you want in the view. Skipped ports appear as a warning in the Task log (Settings, General, Task log). |
| Metric formulas | Left out | Calculations stay in the semantic layer that computes them. Their approved definition belongs in the business glossary. |
Ossie YAML sits next to the other open-standard exports of the data product model. The same dialog offers ODPS formats for the data product itself, described in what is new in ODPS 4.2, and the standards behind the model are documented in Dawiso Help.
How to Export a Data Product as Apache Ossie YAML
The export runs from the standard Export dialog, as a background task. In the dialog the option still carries the standard's former name, OSI YAML.
Open the export
On a data product's detail page, click Export next to its title, or use the three dots on its row in the left panel. To export several, select their rows in an Objects table, such as the Data Product Catalog app, and click Export in the action bar. For a whole application or space, choose Export objects from the three-dot menu on its header in the left panel.
Choose OSI YAML
Click Choose on the OSI YAML card, then click Export. Dawiso queues the export as a background task instead of making you wait.
Download the file
Open the notification bell and click the download link on the finished export. The result is a single .yaml file.
How to Create a Snowflake Semantic View From the Ossie File
Snowflake reads Ossie through the stored procedure SYSTEM$CREATE_SEMANTIC_VIEW_FROM_OSSIE_YAML. It takes a fully qualified schema and the YAML document, and creates the semantic view in that schema. In a worksheet it looks like this, with the contents of the downloaded file between the dollar signs:
CALL SYSTEM$CREATE_SEMANTIC_VIEW_FROM_OSSIE_YAML(
'SALES_DB.ANALYTICS',
$$
-- paste the exported Ossie YAML here
$$
); Four details save time:
| Detail | What to know |
|---|---|
| Privileges | The role needs CREATE SEMANTIC VIEW on the schema and SELECT on every table or view the file references. Replacing an existing view also needs OWNERSHIP of that view. |
| Replacing a view | If a semantic view with the same name exists, Snowflake replaces it and keeps its grants, so agents and users keep their access. |
| Where to run it first | Create the first view in a development schema, check it with Cortex Analyst, then run the same file against the production schema. |
| Spec version | Snowflake currently accepts Ossie version 0.1.1 only. That is also Dawiso's default; an administrator can change it under Settings, General, Features. |
Let Dawiso write the statement. Through the export API you can ask for the file already wrapped in the procedure call, delivered as a runnable .sql file. Dawiso derives the target database and schema from the tables of the data product. When it cannot name one safe target, for example because the tables live in two schemas, it comments the statement out and adds a note explaining what to fix, so the script does not run against a guessed target.
Snowflake converts the Ossie document into its own semantic view format:
| In the Ossie file | In the Snowflake semantic view |
|---|---|
| Datasets and their sources | Logical tables, each pointing to its base table |
| Fields marked as dimensions | Dimensions, or time dimensions for time fields |
| Fields without a dimension | Facts |
| Relationships | Relationships between the logical tables |
| AI context and spec version | Kept in the view's extension metadata |
| Fields or metrics with only unsupported expression dialects | Silently left out of the view |
Recreating a view replaces it. The procedure works like CREATE OR REPLACE SEMANTIC VIEW. Grants survive, but anything someone added directly in Snowflake, such as metrics, synonyms or descriptions that are not in the file, is gone the next time the view is created from a new export. Make changes to the structure in the data product, and decide up front where metrics and synonyms live.
The procedure is a preview feature in Snowflake, open to all accounts. Once the view exists, point a Cortex agent at it, as described in governing Snowflake Cortex agents and semantic views.
Manual Export vs Automatic Updates
A one-off export is a snapshot. When the data product changes, a new table on an output port or a renamed column, the semantic view stays as it was until someone exports again. Automatic updates close that gap.
Manual export Available
You export when you decide to, from the dialog or the API, and run the file in the target platform. Good for a first semantic view, for review before go-live, and for platforms you load by hand.
Automatic updates In preview
Every change to the data product is pushed to the target platform automatically, and the automation is being built to work with any target platform. The semantic view follows the governed definition without a manual export.
Either way, the data product stays the place where the structure is decided. The semantic view is a published copy of it, so there is no second definition to maintain. Keep structural changes in the data product too: a view recreated from a new export keeps only what the file carries.
Common Issues and How to Fix Them
| What you see | Why it happens | How to fix it |
|---|---|---|
| The OSI YAML option is missing | The object is not a data product, or the application has no data product object type. | Export from a data product, or from an app or space set up to hold one. |
| Nothing was exported | Every selected object was skipped: none is a data product with tables on its output ports. | Attach tables to the output ports and export again. |
| Some output ports or tables are missing from the file | Ports without tables were skipped, or you cannot read some of the tables. | Check the Task log message, attach tables, or export with a role that can read them. |
| Snowflake rejects the version | The file declares a spec version Snowflake does not support. | Keep the version at 0.1.1, the value Snowflake accepts today. |
| The .sql file contains a TARGET NOT RESOLVED note | The tables do not resolve to one Snowflake database and schema. | Replace the <DATABASE>.<SCHEMA> placeholder, then uncomment the statement. |
| The .sql file contains a SOURCE NOT USABLE IN SNOWFLAKE note | A dataset source is not a plain database.schema.table reference. | Correct the source named in the note, then uncomment the statement. |
The full procedure, including the API endpoints, is in the Dawiso Help article on exporting a data product as OSI YAML.
FAQ
Is Apache Ossie the same as Snowflake OSI?
Does the Dawiso export include metrics?
Which Ossie version does Snowflake accept?
Can I use the Ossie export outside Snowflake?
Sources
- Apache Ossie - Apache Ossie (Incubating): The New Name for Open Semantic Interchange (July 10, 2026)
- Snowflake Documentation - SYSTEM$CREATE_SEMANTIC_VIEW_FROM_OSSIE_YAML
- Snowflake Documentation - Best practices for developing and deploying semantic views
- Snowflake - Snowflake Semantic View Autopilot: AI-Powered Semantic Modeling in Minutes (February 3, 2026)
- Snowflake - Create Semantics Anywhere with Apache Ossie (Incubating) (November 12, 2026)
- Dawiso Help - Export a data product as OSI YAML
- Dawiso Help - Built on open standards
See it in action
Govern the data products behind your semantic views
See how Dawiso describes, owns and exports data products to open standards.