Reader small image

You're reading from  Azure Data Engineering Cookbook

Product typeBook
Published inApr 2021
Reading LevelBeginner
PublisherPackt
ISBN-139781800206557
Edition1st Edition
Languages
Right arrow
Author (1)
Ahmad Osama
Ahmad Osama
author image
Ahmad Osama

Ahmad Osama works for Pitney Bowes Pvt. Ltd. as a technical architect and is a former Microsoft Data Platform MVP. In his day job, he works on developing and maintaining high performant, on-premises and cloud SQL Server OLTP environments as well as deployment and automating tasks using PowerShell. When not working, Ahmad blogs at DataPlatformLabs and can be found glued to his Xbox.
Read more about Ahmad Osama

Right arrow

Implementing control flow activities

In this recipe, we'll learn how to implement common control flow activities such as Get Metadata, Filter, ForEach, and Stored Procedure. Control flows help in building complex iterative and conditional logic to support data ingestion.

In this recipe, we'll implement the following scenario using control flow activities.

We have a data lake directory that contains multiple file formats, such as .txt, .csv, and .tif. We need to copy .txt files from the directory to another directory. We'll also maintain a log of the file copy operation in an Azure SQL Database table.

Getting ready

Before you start, do the following:

  1. Log into Azure from PowerShell. To do this, execute the following command and follow the instructions to log into Azure:
    Connect-AzAccount
  2. Open https://portal.azure.com and log in using your Azure credentials.

How to do it…

Let's get started by creating the Azure SQL database...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Azure Data Engineering Cookbook
Published in: Apr 2021Publisher: PacktISBN-13: 9781800206557

Author (1)

author image
Ahmad Osama

Ahmad Osama works for Pitney Bowes Pvt. Ltd. as a technical architect and is a former Microsoft Data Platform MVP. In his day job, he works on developing and maintaining high performant, on-premises and cloud SQL Server OLTP environments as well as deployment and automating tasks using PowerShell. When not working, Ahmad blogs at DataPlatformLabs and can be found glued to his Xbox.
Read more about Ahmad Osama