Incremental Dynamic Historical Data Loading by Year and Month: From SQL On-Premise to Azure Blob Storage

Lucas Medina 20 Reputation points
2024-01-16T22:06:23.3133333+00:00

I Would like to extract data from multiple SQL Server On-premises tables to Azure Blob Storage, focusing on a historical load of data dated before 2024-01-15. For each table, the data should be stored in dynamically created folders, organized by year and month, and following the structure 'year/month/tablename.parquet'. This process should be based on the watermark column instead of using utcNow()   This is my currently pipeline. I am using incremental loading using a watermark table: User's image

User's image

User's image

inside foreach:
User's image

Lookup to get old value: User's image

Lookup to get max value: User's image

Copy activity Source query: User's image

SINK: User's image

Has anyone implemented a similar solution, or can you suggest an approach to achieve this?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.