Is a "semantic layer" nothing more than a fancy name for a SQL VIEW in a NoSQL?
Why Semantic Layers Matter (and how to build one with DuckDB)
11–20 of 47 posts
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#12Semantic Layer needs proper language and tooling support which Malloy provides.
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#13We built a transformation library[0] (think a simpler, more performant dbt) for duckdb and I'd really like to create a semantic layer as an extension for it at some point. Limiting support to only duckdb would make some really useful features trivial to implement. e.g. duckdb has a `json_serialize_sql` function that would handle a lot of the tedious parts of building a semantic layer. 0 - https://github.com/definite-…
How do you compare your library to SQLMesh?
it's purely meant to run SQL transformations in DuckDB in a reliable way with data lineage.
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#14I love a semantic layer as much as the next guy... Pivoting a decent sized BI shop toward using one instead of splashing the same SQL all over the place is *tough*. It's one of those: "the analyst could have been building important report for director and you want them to create re-usable logic??? we'll do that later, get report done now. Just copy/paste that SQL over here" This is how you end up with the the 1000 mo…
The flip side is, you often don’t know what needs to be reusable until you’ve had some iterations. Wrong abstractions can be way worse, and also gain their own momentum.
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#15I love a semantic layer as much as the next guy... Pivoting a decent sized BI shop toward using one instead of splashing the same SQL all over the place is *tough*. It's one of those: "the analyst could have been building important report for director and you want them to create re-usable logic??? we'll do that later, get report done now. Just copy/paste that SQL over here" This is how you end up with the the 1000 mo…
we took the same approach when we started https://www.definite.app/.
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#16Is a "semantic layer" nothing more than a fancy name for a SQL VIEW in a NoSQL?
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#17I like the idea of a semantic Layer but don't think defining it in yaml is the right way to go about it. Semantic Layer needs proper language and tooling support which Malloy provides.
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#18Let me take a swipe at it: a semantic layer helps express queries and their results in terms the end-consumers will care about / prefer to reason in, instead of whatever extremely correct and efficient atrocities the database nerds came up with.
Did I get that right?
Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#19Re: Why Semantic Layers Matter (and how to build one with DuckDB)
#20Impressive! An entire article about semantic layers, artfully avoids ever defining what a semantic layer is. Let me take a swipe at it: a semantic layer helps express queries and their results in terms the end-consumers will care about / prefer to reason in, instead of whatever extremely correct and efficient atrocities the database nerds came up with. Did I get that right?