Forum Discussion

michaelgambling's avatar
michaelgambling
Advocate I
11 months ago
Solved

SIlver Layer - Additional Columns

Hi All,

 

I have a Fabric pipeline in place that is metadata driven, implements a watermark strategy and does the following:

 

1) Detects metadata control table.

2) Runs a four-each activity that conducts the following:

    - Looks up an old watermark stored in the metadata control table.

    - Looks up the latest watermark from the source.

    - Conducts a copy data activity, that runs with an append table action to copy data top a 'staging' table.

    - A notebook is run, this notebooks sole purpose is to move only changed data between the 'staging' table and 'bronze' table.

    - A stored proceedure runs as the finaly task, that updates the watermark column in my metadata control table.

 

The pipeline is largely based on this article: https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-incremental-copy-data-warehouse-lakehouse However the only addition is that the pipeline uses a metadata driven approach also.

 

From here i need to have the ability to move the data from the Bronze lakehouse, to the Silver lakehouse. How would people reccomend i handle the ability to add additional columns within the silver tables? I am quite unsure as to what would be 'best practice', should i be handling this in my pipeline, or should i give PowerBi engineers direct access to the Silver Lakehouse to do this themselves?

 

My only thought is that whenever the pipeline activity to copy from the Bronze lakehouse to the Silver lakehouse, then the data would be overwritten and columns would be deleted and require re-creation every time?

 

I am unsure what the best soloution is, the reason i have had to try and set something like this up is because you cannot create additional columns within the tables on the Semantic model layer, and it appears the only way you can otherwise do it is within the lakehouse directly...

 

I am fairly new to data engineering, forgive me if im overthinking this..?

6 Replies