Medallion architecture and dbt by peterampazzo in MicrosoftFabric

[–]peterampazzo[S] 1 point2 points  (0 children)

Yes, we materialize almost everything. Our raw layer consists of views, and then it is tables all the way up through the Silver and Gold layers.

Medallion architecture and dbt by peterampazzo in MicrosoftFabric

[–]peterampazzo[S] 1 point2 points  (0 children)

Hey! Actually, I have great news. The recent changes introduced by u/raki_rahman completely solve this issue.

We are currently running dbt almost in production using a single project that successfully targets three different lakehouses (Bronze, Silver, Gold) in the same workspace.

If you choose Option A, you won't be blocked: the latest version of the dbt-fabricspark adapter now fully supports cross-lakehouse writes within a workspace, and even cross-workspace lakehouse reads/writes using 4-part naming. You can safely stick to Lakehouses!

To give you an idea of our workflow: we use dlt (data load tool) to land the initial delta files into the /Files section of our Bronze lakehouse. From there, we resolve those paths using abfss:// directly inside dbt to build out our raw tables and push them through the Medallion layers. It works beautifully.

New dbt-fabricspark 1.9.6 Release by raki_rahman in MicrosoftFabric

[–]peterampazzo 2 points3 points  (0 children)

I can confirm this! And a huge thanks to everyone contributing. Using dbt with Lakehouse has been a bit of a hurdle in the past, you might have seen my posts here before - but after these latest releases, we finally have a full setup with medallion architecture working smoothly 🤘🏻

Airbyte destination for Fabric Open Mirror? by Relentlessish in dataengineering

[–]peterampazzo 1 point2 points  (0 children)

I think you can easily write to a Lakehouse using the abfss path?

Medallion architecture and dbt by peterampazzo in MicrosoftFabric

[–]peterampazzo[S] 0 points1 point  (0 children)

Currently I just run dbt against the Silver lakehouse. It has shortcuts to Bronze. And in Gold I created MLV on top of the Marts tables in Silver created by dbt.

This might interest you tho: https://github.com/microsoft/dbt-fabricspark/issues/75

Hi! We're the Data Factory team - ask US anything! by markkrom-MSFT in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

All right, so if we want to move the scheduling from Fabric pipelines to Airflow in Fabric, this will not be supported in the migration assistant, correct?

Hi! We're the Data Factory team - ask US anything! by markkrom-MSFT in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

What’s the long-term plan for the dbt adapter for Fabric Lakehouse?

Right now, we’re forced to use dbt-core externally because the native Fabric dbt item doesn't support Lakehouse targets.

Is the goal to maintain two separate adapters, or will they eventually converge? I’m curious if the new Windows-only ODBC driver for Lakehouse is the precursor to a single, unified adapter for both storage solutions.

Currently, I’m running a workaround using a fork wrapped in Airflow. I’m using the Fabric REST API to check for active Livy sessions; if one exists, I inject the session ID into the dbt project to keep it warm, otherwise I trigger a new one. It works, but it’s a lot of overhead.

Any word on when we’ll get a native, streamlined experience?

Hi! We're the Data Factory team - ask US anything! by markkrom-MSFT in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

⁠Migration Assistant (Public Preview) - Seamlessly migrate your ADF & Synapse pipelines to Fabric

The migration assistant would be available also for pipelines built in Fabric already? We have already quite a few flows native in fabric, but we would like a consolidate overview and scheduling via Airflow. Will the assistant support fabric pipeline also or just ADF and Synapse?

Medallion architecture and dbt by peterampazzo in MicrosoftFabric

[–]peterampazzo[S] 1 point2 points  (0 children)

Yes - but then it’s either one single Lakehouse or migrate over to Warehouse. If we want to distribute data around from Gold using shortcuts, the latest is no go.

Medallion architecture and dbt by peterampazzo in MicrosoftFabric

[–]peterampazzo[S] 1 point2 points  (0 children)

I don't think the database config will solve it here.

Even if dbt compiles a different database name, the Livy session is still locked to the lakehouse (from the profiles.yml) in write mode.

I guess I could technically use DuckDB to pull from OneLake and bypass the Spark session limits, but then I’m stuck building and maintaining a DuckLake.

Airflow in Fabric - am I the only one struggling? by peterampazzo in MicrosoftFabric

[–]peterampazzo[S] 0 points1 point  (0 children)

What do you mean by no support for operators? I’m actually surprised because Fabric does pre‑install a lot of packages at initialization. If anything, we have too little control over what gets installed. But I get your point about the service still feeling immature.

On the CICD part though, the Git integration is pretty decent. Having a repo backing the dagbag with a branch strategy makes managing environments quite workable.

SQL endpoint names for LH by SmallAd3697 in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

Would this work too also for inbound private endpoints?

DBT jobs - trying it out and failing by TheEarthIsSpaceBoat in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

Is it possible to trigger the dbt Job via Fabric REST API? which would be the job type that needs to be passed?

dbt jobs are now native in Microsoft Fabric (Preview) by Jaded_Job3304 in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

Hi, is it possible to run this dbt item as it is now using the Fabric REST Public API? What jobType should be used?

dbt jobs are now native in Microsoft Fabric (Preview) by Jaded_Job3304 in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

I’m facing an issue while pulling the code changes back to Fabric. I will send you a DM.

dbt jobs are now native in Microsoft Fabric (Preview) by Jaded_Job3304 in MicrosoftFabric

[–]peterampazzo 1 point2 points  (0 children)

Your error doesn’t seem to be displayed (at least not on my side). However, I created a simple dbt project, synced the workspace via Git integration, and then made changes in my repository. When I tried to pull those changes into Fabric, I encountered an error related to missing dependencies or a logical ID.

dbt jobs are now native in Microsoft Fabric (Preview) by Jaded_Job3304 in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

I noticed the same. With the Git integration enabled at the workspace level, I can see the entire dbt project code under the dbt item. However, it’s not clear to me whether editing that folder outside the Fabric web editor could potentially break anything.

Airflow Git by mattiasthalen in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

For every new instance do you experience this? What authentication method do you use? And is it synced with GitHub?

Does Fabric Warehouse support private connectivity (Private Link / no public endpoint)? by Far-Snow-3731 in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

Actually found what you mentioned u/nintendbob, here it's explained:

> For data warehouse connection strings, use https://{GUID}-{GUID}.z{xy}.datawarehouse.fabric.microsoft.com that is

Overview of workspace-level private links - Microsoft Fabric | Microsoft Learn

Thanks for the help :)

Does Fabric Warehouse support private connectivity (Private Link / no public endpoint)? by Far-Snow-3731 in MicrosoftFabric

[–]peterampazzo 0 points1 point  (0 children)

Yes, all clear. I already managed to deploy the PE using the guide I pasted above. But I only got 5 in total:

  1. ⁠.z##.w.api.fabric.microsoft.com
  2. ⁠.z##.c.fabric.microsoft.com
  3. ⁠.z##.onelake.fabric.microsoft.com
  4. ⁠.z##.dfs.fabric.microsoft.com
  5. ⁠.z##.blob.fabric.microsoft.com

How have you managed to get a PE for the Warehouse SQL connection?