The Ossie file: datasets, relationships, fields, metrics, written in a portable SQL expression language.
spec, released in 0.1.1SQL with measures, SELECT AGG(sales) …, or a wide table: dimensions + metrics + a filter, and the joins are picked for you.
Either way, nothing is counted twice.
onlyRewrites the query on the model into plain SQL on the tables. Ossie's own is a test tool: the view expander of ost, for the compliance cases, SQL measures only. Here, dax-sql stands in.
Any SQL engine runs that SQL and returns the answer. Here, DuckDB.
exists0.3.0.dev0, unreleased,
and 12 of its 16 measures are in DAX, because we could not express them any other way yet. Fabric reads no SQL measures; Snowflake
reads no DAX and only 0.1.1; Databricks and BigQuery have no Ossie import. Only dax-sql reads it (Industry support).ost, the tool that runs them. Its view expander turns a query on a model into DuckDB SQL; it reads only the SQL measures, and it is there to test the spec. ostThe example: days in the calendar and sales, by year. The calendar runs to 2023; sales stop at 2022. Follow 2023.
As tried on this model. Each answer links to the platform's own response. Ossie released 0.1.1 (December 2025), its only
release; is the development version on main, unreleased and still changing, and the next release is planned as
0.3.0-incubating. version history
No. It is a specification: a file that describes a semantic model (tables, relationships, fields and measures). Something else has to read it and answer the queries.
Yes. It is an Apache project (still incubating), and compared with similar open source projects it gets
the hard part right. Many of them start from one source table and expand out from it: every query has a root, and a
second fact at another grain is out of reach, or joined by hand. Ossie describes the model as a whole, several fact
tables at different grains sharing their dimensions. Each measure is computed on its own table first, then combined
(AGG()), so sales by day and budget by month sit in one model without double counting. That is why I
love it.
AI agents. An agent that picks a measure already defined doesn't have to guess the joins and the formula, which is where agents writing SQL from raw tables go wrong. And the definition is stored independently of the engine: written once, read by any tool. That is a big idea, and it is worth the excitement. It is also early: the standard is still being written, and it will take some time for things to settle.
A standard way to describe a semantic model is awesome. One can hope that data engineers and analysts finally share the same understanding, and that calling one big table a "model" will be history. It also opens new uses: someone used AI to read the SQL an app runs and generate an Ossie file from it, to use with PostgreSQL. That is the kind of new use case I find interesting.
I am not. It is exciting, but it is still early days. This repo shows where things stand today, the gaps included, so you know what works now and what is still to come.
Not necessarily. But it is good to be aware of it: it may become the real thing in the future. Fabric already reads a development version of it.
No, not today. It is still very basic: Fabric's file needed an extension just for format strings, and 12 of this model's 16 measures (last year, % of total) have no Ossie SQL form yet.
Not a real one yet, as far as I know. A reference compiler is on Ossie's roadmap.
No. 0.1.1 is the only release. This repo uses 0.3.0.dev0, the development
version on main, which still changes.
Not yet. Each platform reads a different version: Fabric reads 0.2.0.dev0 (with its measures
in DAX), Snowflake reads 0.1.1 (no DAX), Databricks and BigQuery have no Ossie import. That is what
early looks like. Industry support
Yes, side by side in the same measure, and each engine takes the one it reads. Nothing checks that the two say the same thing, though: that is on you, and your tests.
SUM(sales_qty) in SQL the same as SUM(fact_sales[sales_qty]) in DAX?Not necessarily. The sum is the same; what happens around it is not. SQL has NULL, DAX has blank, and they behave differently:
| DAX | SQL | |
|---|---|---|
| 2023 has no sales, last year had 94,792,246 (q14): sales − last year | blank counts as 0: −94,792,246 | NULL makes it all NULL: no answer |
600,000 budget units under a category the category table doesn't have (q15): filter category <> "Laundry" |
they sit in the blank row, which is not Laundry: kept | NULL <> 'Laundry' is not true: dropped, no error |
Neither is wrong; they are two languages. Ossie's SQL follows SQL here (its own compliance test A15: a NULL measure makes the expression NULL). So two engines reading one Ossie file can still give two answers, and only a test on the data shows it. Pinning down details like this is exactly what the standard is working through now.
They help, but they are not the point here. This repo is about one Ossie file read by different engines, as it is. A converter has to assume a lot about the target, and the targets differ. For a start, not every engine has multi-fact tables: a Databricks metric view has one source, so the budget becomes a second view joined by hand, and a BigQuery graph query starts from one table, so from sales the budget is out of reach. Then each target has its own rules (blank or NULL, how last year is computed), so the converted model can answer differently from the file it came from, with no error.