Book Image

ETL with Azure Cookbook

By : Christian Cote, Matija Lah, Madina Saitakhmetova
Book Image

ETL with Azure Cookbook

By: Christian Cote, Matija Lah, Madina Saitakhmetova

Overview of this book

ETL is one of the most common and tedious procedures for moving and processing data from one database to another. With the help of this book, you will be able to speed up the process by designing effective ETL solutions using the Azure services available for handling and transforming any data to suit your requirements. With this cookbook, you’ll become well versed in all the features of SQL Server Integration Services (SSIS) to perform data migration and ETL tasks that integrate with Azure. You’ll learn how to transform data in Azure and understand how legacy systems perform ETL on-premises using SSIS. Later chapters will get you up to speed with connecting and retrieving data from SQL Server 2019 Big Data Clusters, and even show you how to extend and customize the SSIS toolbox using custom-developed tasks and transforms. This ETL book also contains practical recipes for moving and transforming data with Azure services, such as Data Factory and Azure Databricks, and lets you explore various options for migrating SSIS packages to Azure. Toward the end, you’ll find out how to profile data in the cloud and automate service creation with Business Intelligence Markup Language (BIML). By the end of this book, you’ll have developed the skills you need to create and automate ETL solutions on-premises as well as in Azure.
Table of Contents (12 chapters)

Transforming data with Pig

This section is almost identical to the previous one. The only difference is that we're going to use Pig to do the transformations and use different containers in our storage.

Pig is a scripting language that can eat anything. This means that we can consume almost any type of file easily with Pig. However, there is a restriction on the file types we can use with the HDInsight version of Pig: The Parquet file cannot be used. This is because a library is missing in the out-of-the-box HDInsight cluster. For this reason, we will use a regular text file format in this recipe.

A lot of the steps in this section are similar to the steps shown in the previous recipe. If you completed all the recipes provided in the previous sections, some of them can be skipped. We'll indicate when this is the case.

Getting ready

This recipe requires that you have the following:

  • Visual Studio 2019 with the Integration Services extension installed
  • ...