r/MicrosoftFabric • u/Mobile_Education5413 • Oct 26 '26
Community Share We built Weaver — an open-source data engineering framework for Microsoft Fabric
Hi all,
I came to Microsoft Fabric from a Microsoft SQL Server data warehousing background, where we’d spent years developing the engineering machinery for managing large, complex data estates.
When I started working with Fabric, I found that while it had many of the underlying capabilities, the engineering experience was fragmented. Different approaches for Lakehouses, Warehouses and Power BI, and much of the tooling designed around SQL tables didn’t extend naturally to Lakehouse Files and Delta tables.
What I wanted was the same engineering discipline we’d enjoyed with traditional SQL warehouses: a single dependency graph, repeatable builds, incremental loading, fault tolerance, production-ready CI/CD, automated testing, performance optimisation and operational visibility, regardless of where the data lived.
What’s clear to me was that Fabric is great, but the adequate tooling didn’t exist.
Over the years, my colleague Mark and I built a strong SQL data engineering framework to operate a large government department’s warehouse. It’s state-of-the-art — if I may say so — but we couldn’t release it because it’s government code. However, we could create a new version tailored it to Microsoft Fabric, and make it open source for everyone..
It’s now available for free: Weaver
The idea is that Weaver makes Fabric easier to use, and safer to scale.
(Yes… I noticed afterwards we weren’t the first to do this play-on-words… but it’s already released to pypi.)
A few things already included so far:
1. Full parity between Lakehouses and Warehouses: Build and load tables or files using Python, Spark SQL and T-SQL using a consistent contract. Supports staging, change detection, incremental, fault tolerance etc.
2. A single DAG across Fabric: Connect Lakehouses, Warehouses, semantic models and reports in one dependency graph, coordinating their build, load and test workflows.
3. Enterprise Power BI: Extend semantic models and reports. Use standard TMDL annotations to apply modelling conventions, write automated DAX testing, and deploy different versions of the reports connected to different sources.
4. Fully Fabric native: No separate runtimes, no compiled code, no macros, nothing that doesn’t run on Fabric itself. All you need is pip install. Desktop CLI and Notebook have full parity so you can use either. CLI is cooler but not all government departments allow you to use desktop python.
5. UI & observability: Prepackaged Power BI report to visualise estate health, lineage graphs, ER diagrams, semantic-model bus matrices, load performance, execution timelines. It’s DirectLake so it’s “live” - skip the import and just refresh the visual to see what’s happening.
6. Performance-tuned for Fabric: Detailed performance tuning tailored to Fabric, including automatic parallel execution across the DAG, with separately configurable concurrency for Spark and T-SQL workloads, as well as other things you wish someone had done for you such as automatic background refresh for SQL endpoint.
7. Production grade CI/CD: Swap deployment targets with zero code change — just a config file swap. Deployment and orchestration can happen unattended via Notebook.
8. Developer and AI-agent workflows: A Python API and CLI with human-readable and structured JSON output, designed for rapid, repeatable engineering cycles.
One of the things I particularly wanted to validate was whether this approach could work at enterprise scale.
We’ve stress-tested Weaver with a single dependency graph containing approximately 3,000 objects and 4 billion rows, including Lakehouse and Warehouse workloads.
The results were 60 minutes full load and 15 minutes incremental on the Fabric trial capacity.
How is Weaver different from dbt?
There’s certainly overlap, especially around SQL transformations, incremental loading and testing.
The main difference is scope. dbt is primarily a data transformation framework, whereas Weaver is designed to engineer and operate an entire Microsoft Fabric estate—from Lakehouse Files and Delta tables to Warehouses, semantic models and reports—all within a single dependency graph and a common build, load, test and monitoring framework.
Weaver doesn’t introduce a new compute engine. It works with Microsoft Fabric’s native capabilities, using familiar Python, SQL and Power BI definitions.
Give it a try
It’s open source under MPL 2.0 and available on PyPI: pip install weaverstack
Website: Weaver: Making Fabric easier to use
Documentation: Developer docs
Open source code: GitHub
We’d be interested to hear how others are managing code-first data engineering on Fabric, particularly across Lakehouses, Warehouses and Power BI.
This is my first real post on Reddit. So be patient with me.
Hopefully, this is a step forward in production-level tooling for Fabric
Feedback, criticism and contributions are very welcome.
4
u/Silenus_Satyricon Oct 26 '26
I'm not seeing it in the docs (admittedly, I'm still caffeinating, so apologies in advance if it's right in front of me), but is there any dependency on tenant admin rights, or is capacity admin (or lower?) sufficient for all functionality?
Also, "criticism...very welcome" and "first real post on Reddit"...uh oh. 😉
2
u/Mobile_Education5413 Oct 26 '26 edited Oct 26 '26
Good question, and you're right that I should make this clearer in the docs.
For normal Weaver operations, you don't need tenant admin or capacity admin rights. Contributor access to an existing Fabric workspace is generally sufficient for Build, Load and Test, assuming you also have access to the underlying data sources.
weaver checkruns entirely locally, without even connecting to Fabric.There are a few caveats where Fabric tenant policies come into play:
Unattended execution using service principals requires the relevant Fabric tenant setting to be enabled.
Accessing OneLake from outside Fabric depends on the tenant's external-access policy.
Power BI DAX testing depends on the Execute Queries tenant setting.
The Catalogue Dashboard uses an HTML custom visual, which may require administrator approval in restricted tenants.
You don't need to be a tenant administrator yourself for these, but your administrator may need to enable the relevant settings.
Weaver also has optional capacity management commands, which require separate Azure resource permissions.
I'll add a proper permissions matrix to the documentation. Thanks for raising this!
(Admittedly I am not getting the first real post thing.... but it's true! Which proves I am doing my first real post...)
2
u/Mobile_Education5413 14d ago
Thanks for the feedback. It's great suggestion!
I have taken it onboard and added permission to the docs page https://docs.weaverstack.dev/reference/permissions/
Keen to know if it ticks the box, and any feedback on weaver itself if you'd thought about it.
3
u/bschuss Oct 26 '26
Yet another thing that sounds awesome, that I will definitely need to explore, and where I will definitely have a severe lack of time limiting my ability to do so 🙈
1
2
u/Master_Split923 Oct 28 '26
I had a mess about today and looks great!
Being able to customise the separator in the configs would be great as we have some systems that use double underscores (like Salesforce) that it would be great to preserve the original names (currently only allows one instance of double underscore which is understandable).
Love that you included some pretty monitoring reports too.
Thanks for sharing!
1
u/Mobile_Education5413 Oct 28 '26
Thank you! Glad you liked it!
I suspect the more you use Weaver, the more you'll discover how much of the complex Fabric engineering it quietly takes care of behind the scenes. That's really what we built it for.
And yes, I can certainly look into relaxing the separator restriction. I'm planning roughly monthly releases at this stage.
One possibility is to treat the first
__as the schema/object separator, rather than requiring exactly one occurrence. Another is to make the separator configurable. I'll need to think through which approach works best.You're very welcome to open a GitHub issue with an example of your naming requirements, so we can discuss the best solution.
Thanks again for trying it out and sharing the feedback!
1
u/Sam___D Microsoft MVP Oct 26 '26
Is Weaver Fabric-only? Advantages of pure Spark or dbt is that it’s being used by thousands of users outside of the Fabric ecosystem and that it’s not that hard to switch to Snowflake/Databricks/on-premises with minor code changes.
1
u/Mobile_Education5413 Oct 26 '26
Yes, Weaver is Fabric-only at the moment. That's deliberate.
I agree portability is a real advantage of dbt and Spark. But there are two other problems in data engineering that I've been trying to solve.
First, incoherence. You can use dbt for SQL transformations, but you still need other tools for ingestion, files, Python/data science workloads, orchestration, etc. You end up stitching together multiple frameworks to build a complete data platform.
Second, depth. Serious data engineering requires things like incremental change tracking, bookmarks, fault tolerance, recovery, testing and observability. A lot of tooling leaves these concerns to individual developers to implement.
Weaver is my attempt to address both.
Being Fabric-specific also means I can optimise deeply for Fabric's actual execution characteristics rather than accommodating the lowest common denominator across platforms. For example, dealing with SQL endpoint refresh, shortcuts, Semantic Models, etc, are all Fabric-only features that needs to become first-class.
Having said that, the architectural logic itself is fairly cross-platform (fault-tolerance, declarative estate, separating build and load, handling watermarks/bookmarks ....). So there's no real reason why this cannot extend in general.
If Weaver gains traction, I'd certainly consider extending the framework to Databricks and other platforms. But I'd specifically do it platform-by-platform to preserve native optimisation rather than compromise it for portability.
1
u/Western_Rub_7236 Oct 27 '26
Nice thing you have built for Fabric. I am also trying to build a similar thing but with some changes:
Not focused on Fabric
Semantic model and reports are out of focus
The basic motto is to build dbt but in such a way that it also covers E and L of the entire ETL.
Here is my attempt at it : https://det-labs.github.io/det/
3
u/Mobile_Education5413 Oct 27 '26
Nice! I think we’ve arrived at a similar conclusion from different directions — that data engineering needs a lot more than just SQL transformations.
In theory, that’s the promise of Fabric — OneLake as a common storage layer that brings everything together.
But in practice, I find it still feels like juggling several different technologies, each with its own machinery, and sometimes unpredictable delays before data becomes available across them.
A table is a table is a table. Whether it comes from Python, Spark SQL or T-SQL, why on earth do I need a multitude of tools, each with its own approach, just to manage a pipeline of them???!!!
I agree with you that this is a gap with dbt. It addresses SQL transformations, but doesn’t deliver the unified engineering experience that Fabric promises, and that enterprises pay big money for.
I’d be interested to hear how others are dealing with this in Fabric. Has anyone found a genuinely coherent approach?
1
u/wire_tiger Oct 27 '26
This looks awesome.
I was about to start migrating our custom built metadata framework over to DBT but will seriously consider using this as an alternative.
1
u/Mobile_Education5413 Oct 27 '26 edited Oct 27 '26
Great to hear !
The problem with dbt is that your Lakehouse and Warehouse SQL are going to remain fragmented because they are seperate engine, deployment and operational boundaries. There's also semantic models. Scheduling, observability, etc, won’t hang together.
If isolated warehouse is what you need, or you don’t need python transformations, then dbt is well established. But if not, you should consider something that works for the whole of Fabric.
Something else consider down the line in choosing a framework - if you eventually want to move down an AI agent driven building of the pipeline, then an end-to-end cli tool is more or less mandatory. The last thing you want is to lock yourself in a situation where your AI tools are compromised because you don’t have a consistent framework for the whole thing.
Just reach out if you need anything.
1
u/wire_tiger Oct 28 '26
We run lakehouse in bronze and silver and a warehouse in gold. I like the idea of using one framework for the entire process, not just the transformation.
I would normally lean towards DBT as it is so widely used, but the advantages of this project may outweigh that. Will spin up a POC and see how I go.
Great work btw
1
u/Mobile_Education5413 Oct 28 '26
Thanks!
Please have a look and let me know if you need changes.
I can also show people how I’m using weaver for a full AI agent/no GUI/unattended workflow to build large pipelines across Lakehouse and Warehouse.
About portability-it’s a bit of chicken and egg-if there’s more people using weaver, I would be happy to expand weaver into databricks next.
The underlying architecture - and engineering thinking - is transferable to databricks, snowflake etc.
1
u/M_here_to_read 28d ago
That’s a great tool you have built. I myself come from the data warehousing background, where we’d spent a great deal of time and effort to build the metadata-driven framework for the ETL/ELT, just to migrate to a different tool or platform every few years.
I would definitely try this out and see how it’s working.
1
u/Mobile_Education5413 26d ago
Thanks very much for the interest.
Yes we keep making metadriven frameworks! I think Fabric is in a very unique place because it has an ecosystem of products.
If it works well for you and others, I may consider expanding the same implementation for other platforms like databricks and GCP etc, so the identical code runs with zero changes (for equivalent spark, sql etc)
1
u/Master_Split923 14d ago
Lots of changes coming in v0.11 it seems!
Have worked in Aus Gov previously, so know some of these things aren't allowed, but if you have a buymeacoffee then I'd happily contribute.
I understand that might depend on whether this is a personal project, but this is really a great thing you've built and shared.
1
u/Mobile_Education5413 14d ago
Hi ! I am not currently working in government. I was a director at the APS.
One of the reasons why I left the public service was because I wanted to bring things like this to life.
The core of the code was actually developed in the Department of Agriculture over a decade (for SQL Server and Power BI) with my colleague. I took my leave, quit the public service, and ported the code for Fabric.
So even the code looks new, the thinking has been tested heavily in production.!
Thanks so much for watching! And if you are in Canberra, would be great to catch up!
Oh, and you would have seen that your comment about __ is now addressed. I relaxed the constraint so that the name can have __ in them. The schema does not. I checked this is consistent with SalesForce. So hope that works.
I thought about adding a configurable separator but this brings in question of where that should go (whole of enterprise? lakehouse level? etc). So I hope a simple approach suffice


24
u/Select-Career-2947 Oct 26 '26
This is not a comment on functionality, but I suggest updating the “All your Fabric work, at a glance.” Tagline and updating the main dashboard a bit. It screams “Claude code built this and there has been minimal human input into design” which is likely to make people take it less seriously.
That’s said I’m interested to explore this as I feel that it’s conceptually something that Fabric firmly lacks.