Forum Discussion
DataLake to DataWarehouse
- 2 years ago
You could perhaps use Dataflows Gen2 with Append method.
Pattern to incrementally amass data with Dataflow Gen2 - Microsoft Fabric | Microsoft Learn
This should work similarly both for Lakehouse or Warehouse.
Or just use a cross-database query to get the Lakehouse data into your Warehouse, as shown in the previous comment (however it doesn't work for Lakehouse files, only Lakehouse tables).
I don't think Notebook can write data to Warehouse. So I don't think what you are asking is directly possible.
I think you will need to use some other tool than Notebook (Dataflows Gen2, T-SQL script or stored procedure, data pipeline, etc.).
Or you can use Notebook to enter data into a Lakehouse table, and then use cross-database queries to make the data available in the Warehouse.If you want to use Notebook to load data, why not just use Lakehouse instead of Warehouse? I am curious.
If someone knows how to use Notebook to write data to Warehouse, I am interested to know.
- 2 years ago
Right now we can't write to a Warehouse without going through the Warehouse SQL Endpoint (we can read via Spark as you know). So the only way to work with data is using a connectivit method like pyodbc and connecting to the Warehouse SQL Endpoint in the Notebook.
I'll dig up an example I did a whle ago to show this.
Connectivity to data warehousing - Microsoft Fabric | Microsoft Learn
So I am using mendelian architecture to file movement from the bronze lakehouse layer to the warehouse
So I do know that its possible with pipeline.
but I want to know the solution from the notebook
where I am trying to move raw selected files to warehouse delta
So whenever new incremental load happens the new data will gett append to the warehouse table on the incremental load bases.
if you have more optimized or better way to move data from lakehouse to warehouse using medallion architecture please let me know
I am loading data from on premises database to lakehouse it will be a full load (parquet) storing as a database/year/month/date/table name
now also getting incremental data from same database on daily basis.
now I want to add these incremental load to silver warehouse
please provide good way do I can run trigger daily and update my silver warehouse layer
thanks,
Red
You could perhaps use Dataflows Gen2 with Append method.
Pattern to incrementally amass data with Dataflow Gen2 - Microsoft Fabric | Microsoft Learn
This should work similarly both for Lakehouse or Warehouse.
Or just use a cross-database query to get the Lakehouse data into your Warehouse, as shown in the previous comment (however it doesn't work for Lakehouse files, only Lakehouse tables).
I don't think Notebook can write data to Warehouse. So I don't think what you are asking is directly possible.
I think you will need to use some other tool than Notebook (Dataflows Gen2, T-SQL script or stored procedure, data pipeline, etc.).
Or you can use Notebook to enter data into a Lakehouse table, and then use cross-database queries to make the data available in the Warehouse.
If you want to use Notebook to load data, why not just use Lakehouse instead of Warehouse? I am curious.
If someone knows how to use Notebook to write data to Warehouse, I am interested to know.
- AndyDDC2 years ago
Most Valuable Professional
Right now we can't write to a Warehouse without going through the Warehouse SQL Endpoint (we can read via Spark as you know). So the only way to work with data is using a connectivit method like pyodbc and connecting to the Warehouse SQL Endpoint in the Notebook.
I'll dig up an example I did a whle ago to show this.
Connectivity to data warehousing - Microsoft Fabric | Microsoft Learn