Skip to main content

How to Turn a Governed Data Product Into a Snowflake Semantic View With Apache Ossie

Samuel Nagy
Samuel Nagy
VP of Strategic Growth

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.

TL;DR

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.

From Data Product to Semantic View FROM DATA PRODUCT TO SEMANTIC VIEW 1 Data product Owner and approved definition Output ports Tables and columns In Dawiso 2 Ossie YAML Datasets Fields Relationships Spec version 0.1.1 Open standard 3 Semantic view Created by one procedure call Grants kept on replace In Snowflake 4 Consumers Cortex Analyst Cortex agents Read as published Today: export on demand. In preview: every change to the data product pushed automatically.
Click to enlarge

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.

ApproachWhere the definition startsBest whenWatch out for
Hand-built in SnowflakeSQL or YAML written directly in SnowflakeOne team owns one well-understood modelViews built by different teams over the same tables drift apart
Semantic View AutopilotGenerated by Snowflake from existing queries and BI assets (generally available since February 2026)You need a first draft quicklyA generated model still needs someone to review and approve it
dbt via Apache OssieSemantic models and metrics in dbt YAML, written out as Ossie and loaded into SnowflakeAnalytics engineers manage metrics as code in GitBusiness ownership and approval happen outside dbt
Dawiso data product via Apache OssieA data product with an owner, an approved description and output portsThe structure must match what the business has agreed onMetric 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 productIn the Ossie fileWhat it means for you
Tables and columns on output portsIncludedThe semantic view covers exactly what the data product publishes.
Foreign-key relationships between those tablesIncludedJoins come from the documented model.
Tables and columns the person exporting cannot readLeft outAn 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 attachedSkippedAttach tables to every port you want in the view. Skipped ports appear as a warning in the Task log (Settings, General, Task log).
Metric formulasLeft outCalculations 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.

1

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.

2

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.

3

Download the file

Open the notification bell and click the download link on the finished export. The result is a single .yaml file.

The Export objects dialog on a data product in Dawiso, offering OSI YAML (the Apache Ossie format under its former name) next to ODPS 1.1.0 and ODPS 4.2
Click to enlarge

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:

DetailWhat to know
PrivilegesThe 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 viewIf 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 firstCreate the first view in a development schema, check it with Cortex Analyst, then run the same file against the production schema.
Spec versionSnowflake 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 fileIn the Snowflake semantic view
Datasets and their sourcesLogical tables, each pointing to its base table
Fields marked as dimensionsDimensions, or time dimensions for time fields
Fields without a dimensionFacts
RelationshipsRelationships between the logical tables
AI context and spec versionKept in the view's extension metadata
Fields or metrics with only unsupported expression dialectsSilently 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 seeWhy it happensHow to fix it
The OSI YAML option is missingThe 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 exportedEvery 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 filePorts 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 versionThe 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 noteThe 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 noteA 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?
Yes. OSI, the Open Semantic Interchange, was the original name of the standard that Snowflake launched with partners in September 2025. In July 2026 it entered the Apache Incubator and was renamed Apache Ossie. The specification and the YAML format did not change, and Snowflake now documents SYSTEM$CREATE_SEMANTIC_VIEW_FROM_OSSIE_YAML in place of the deprecated OSI procedure.
Does the Dawiso export include metrics?
No. The export describes the tables, columns and foreign-key relationships behind the data product output ports. Metric formulas stay in the semantic layer that computes them, such as dbt or the semantic view itself, and their approved definitions belong in the business glossary.
Which Ossie version does Snowflake accept?
Snowflake currently accepts Ossie specification version 0.1.1 only and rejects other versions with an error that lists the supported values. Dawiso writes 0.1.1 by default, and an administrator can change the value under Settings, General, Features.
Can I use the Ossie export outside Snowflake?
The file is vendor-neutral Ossie YAML, so it can be loaded into other tools that read the standard. Snowflake is the validated target today. Automatic updates, which are in preview, are being built to work with any target platform.

Sources

See it in action

Govern the data products behind your semantic views

See how Dawiso describes, owns and exports data products to open standards.

A cookie a day keeps bad UX away.

We use cookies to personalize content, ads and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. By clicking "Accept All", you allow us to use cookies for analytics and ads via Google Tag Manager. You can also customize cookies.

Customize Consent Preferences

We use cookies to personalize content, ads and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners. Privacy Policy

Necessary cookies allow core website functionality such as user login and account management. The website cannot be used properly without strictly necessary cookies.

Functionality cookies are used to remember visitor information on the website, eg. language, timezone, enhanced content.

Analytics cookies are used to see how visitors use the website, eg. analytics cookies. Those cookies cannot be used to directly identify a certain visitor.

We use Microsoft Clarity to see how you use our website (including heatmaps and session replays) so we can improve it. By using our site, you agree that we and Microsoft can collect and use this data. See our Privacy Policy for details.

Advertisement cookies are used to identify visitors between different websites, eg. content partners, banner networks. Those cookies may be used by companies to build a profile of visitor interests or show relevant ads on other websites.