Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Azure Data Factory Cookbook
Azure Data Factory Cookbook

Azure Data Factory Cookbook: Build and manage ETL and ELT pipelines with Microsoft Azure's serverless data integration service

Arrow left icon
Profile Icon Dmitry Anoshin Profile Icon Dmitry Foshin Profile Icon Storchak Profile Icon Xenia Ireton
Arrow right icon
AU$47.99 AU$53.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2 (13 Ratings)
eBook Dec 2020 382 pages 1st Edition
eBook
AU$47.99 AU$53.99
Paperback
AU$67.99
Subscription
Free Trial
Renews at AU$24.99p/m
Arrow left icon
Profile Icon Dmitry Anoshin Profile Icon Dmitry Foshin Profile Icon Storchak Profile Icon Xenia Ireton
Arrow right icon
AU$47.99 AU$53.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2 (13 Ratings)
eBook Dec 2020 382 pages 1st Edition
eBook
AU$47.99 AU$53.99
Paperback
AU$67.99
Subscription
Free Trial
Renews at AU$24.99p/m
eBook
AU$47.99 AU$53.99
Paperback
AU$67.99
Subscription
Free Trial
Renews at AU$24.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Azure Data Factory Cookbook

Chapter 2: Orchestration and Control Flow

Azure Data Factory is an excellent tool for designing and orchestrating your Extract, Transform, Load (ETL) processes. In this chapter, we introduce several fundamental data factory concepts and guide you through the creation and scheduling of increasingly complex data-driven workflows. All the work in this chapter is done using the Microsoft data factory online portal. You'll learn how to create and configure Linked Services and datasets, take advantage of built-in expressions and functions, and, most importantly, learn how and when to use the most popular Data Factory activities.

This chapter covers the following topics:

  • Using parameters and built-in functions
  • Using the Metadata and Stored Procedure activities
  • Using the ForEach and Filter activities
  • Chaining and branching activities within a pipeline
  • Using the Lookup, Web, and Execute Pipeline activities
  • Creating event-based pipeline triggers

Technical requirements

Note

To fully understand the recipes, we make naming suggestions for the accounts, pipelines, and so on throughout the chapter. Many services, such as Azure Storage and SQL Server, require that the names you assign are unique. Follow your own preferred naming conventions, making appropriate substitutions as you follow the recipes. For the Azure resource naming rules, refer to the documentation at https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules.

In addition to Azure Data Factory, we shall be using three other Azure Services: Logic Apps, Blob Storage, and Azure SQL Database. You will need to have Azure Blob Storage and Azure SQL Database accounts set up to follow the recipes. The following steps describe the necessary preparation:

  • Create an Azure Blob Storage account and name it adforchestrationstorage. When creating the storage account, select the same region (that is, East US) as you selected when you created the Data Factory instance. This will save us costs when moving data.
  • Create a container named data within this storage account, and upload two CSV files to the folder: airlines.csv and countries.csv (the files can be found on GitHub: https://github.com/PacktPublishing/Azure-Data-Factory-Cookbook/tree/master/data).
  • Create an Azure SQL Database instance and name it AzureSQLDatabase. When you create the Azure SQL Database instance, you will have the option of creating a server on which the SQL database will be hosted. Create that server, and take note of the credentials you entered. You will need these credentials later when you log in to your database.

    Choose the basic configuration for your SQL server to save on costs. Once your instance is up and running, configure the firewall and network settings for the SQL server: make sure that you set the Allow Azure services and resources to access this database option to Yes. You may also need to create a rule to allow your IP to access the database:

    Figure 2.1 – Firewall configuration

Figure 2.1 – Firewall configuration

Download the SQL scripts from GitHub at https://github.com/PacktPublishing/Azure-Data-Factory-Cookbook/tree/master/Chapter02/sql-scripts:

  • CreateAirlineTable.sql and CreateCountryTable.sql: These scripts will add two tables, Country and Airline, which are used in several recipes, including the first one.
  • CreateMetadataTable.sql: This will create the FileMetadata table and a stored procedure to insert data into that table. This table is necessary for the Using Metadata and Stored Procedure activities and Filtering your data and looping through your files recipes.
  • CreateActivityLogsTable.sql: This will create the PipelineLog table and a stored procedure to insert data into that table. This table is necessary for the Chaining and branching activities within your pipeline recipe.
  • CreateEmailRecipients.sql: This script will create the EmailRecipients table and populate it with a record. This table is used in the Using the Lookup, Web, and Execute Pipeline activities recipe. You will need to edit it to enter email recipient information.
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn how to load and transform data from various sources, both on-premises and on cloud
  • Use Azure Data Factory’s visual environment to build and manage hybrid ETL pipelines
  • Discover how to prepare, transform, process, and enrich data to generate key insights

Description

Azure Data Factory (ADF) is a modern data integration tool available on Microsoft Azure. This Azure Data Factory Cookbook helps you get up and running by showing you how to create and execute your first job in ADF. You’ll learn how to branch and chain activities, create custom activities, and schedule pipelines. This book will help you to discover the benefits of cloud data warehousing, Azure Synapse Analytics, and Azure Data Lake Gen2 Storage, which are frequently used for big data analytics. With practical recipes, you’ll learn how to actively engage with analytical tools from Azure Data Services and leverage your on-premise infrastructure with cloud-native tools to get relevant business insights. As you advance, you’ll be able to integrate the most commonly used Azure Services into ADF and understand how Azure services can be useful in designing ETL pipelines. The book will take you through the common errors that you may encounter while working with ADF and show you how to use the Azure portal to monitor pipelines. You’ll also understand error messages and resolve problems in connectors and data flows with the debugging capabilities of ADF. By the end of this book, you’ll be able to use ADF as the main ETL and orchestration tool for your data warehouse or data platform projects.

Who is this book for?

This book is for ETL developers, data warehouse and ETL architects, software professionals, and anyone who wants to learn about the common and not-so-common challenges faced while developing traditional and hybrid ETL solutions using Microsoft's Azure Data Factory. You’ll also find this book useful if you are looking for recipes to improve or enhance your existing ETL pipelines. Basic knowledge of data warehousing is expected.

What you will learn

  • Create an orchestration and transformation job in ADF
  • Develop, execute, and monitor data flows using Azure Synapse
  • Create big data pipelines using Azure Data Lake and ADF
  • Build a machine learning app with Apache Spark and ADF
  • Migrate on-premises SSIS jobs to ADF
  • Integrate ADF with commonly used Azure services such as Azure ML, Azure Logic Apps, and Azure Functions
  • Run big data compute jobs within HDInsight and Azure Databricks
  • Copy data from AWS S3 and Google Cloud Storage to Azure Storage using ADF s built-in connectors

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 24, 2020
Length: 382 pages
Edition : 1st
Language : English
ISBN-13 : 9781800561021
Vendor :
Microsoft
Category :
Concepts :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Dec 24, 2020
Length: 382 pages
Edition : 1st
Language : English
ISBN-13 : 9781800561021
Vendor :
Microsoft
Category :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
AU$24.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
AU$249.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts
AU$349.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total AU$ 211.97
Azure Data Engineering Cookbook
AU$67.99
Azure Databricks Cookbook
AU$75.99
Azure Data Factory Cookbook
AU$67.99
Total AU$ 211.97 Stars icon

Table of Contents

11 Chapters
Chapter 1: Getting Started with ADF Chevron down icon Chevron up icon
Chapter 2: Orchestration and Control Flow Chevron down icon Chevron up icon
Chapter 3: Setting Up a Cloud Data Warehouse Chevron down icon Chevron up icon
Chapter 4: Working with Azure Data Lake Chevron down icon Chevron up icon
Chapter 5: Working with Big Data – HDInsight and Databricks Chevron down icon Chevron up icon
Chapter 6: Integration with MS SSIS Chevron down icon Chevron up icon
Chapter 7: Data Migration – Azure Data Factory and Other Cloud Services Chevron down icon Chevron up icon
Chapter 8: Working with Azure Services Integration Chevron down icon Chevron up icon
Chapter 9: Managing Deployment Processes with Azure DevOps Chevron down icon Chevron up icon
Chapter 10: Monitoring and Troubleshooting Data Pipelines Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2
(13 Ratings)
5 star 38.5%
4 star 53.8%
3 star 0%
2 star 0%
1 star 7.7%
Filter icon Filter
Top Reviews

Filter reviews by




Botta Feb 09, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have read this whole book and I liked the way author approached topics . This has every basics that is required for a beginner . Starting from creating Linked Service , Datasets , Integration runtimes , triggers , data flows and pipelines . As I have gone through whole book , you would find almost every scenario based example that you would be required in the day to day job duties . It also covers all the various activities that we have in ADF today along with different types of triggers and their usages !! Just go for it . Thank you. I really liked it .
Amazon Verified review Amazon
Naga Pakalapati Jan 16, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
DISCLAIMER: I received this book from the publisher for review. My opinion is completely unbiased and solely from an developer/reader point of view.Overall Review: I found this book to be quite resourceful to quickly introduce you to all the important concepts around ADF with hands-on examples and scenarios. This will be very useful to someone starting new with ADF and also to those who are experienced to get familiar with new concepts and new ways to do things. (***I myself used some of the concepts to improve some of the pipelines at work**)What I like:- Neatly structured for easy reading and understanding. Exaclty how a cookbook should be.- Liked the way how technical requirements are well layed out before each chapter to make things easy.- Probably the best thing about this book is, along with covering important how-to concepts of ADF, this book also get's you familiar with ADF integration with other Azure service like Synapse, ML, Databricks, ADLS etc.- Provides links to helpful resources if you want to dig deep into the concepts introduced.What I don't like:There isn't much that is totally off with this book, but I personally felt that in places where the book says to "use this piece of code" needed better explanation on how the code works. Though every chapter has its own "How it works" section to explain what was done, additional explanation would be helpful.One other thing is, in Chapter 3 following the instructions as is may not give you straight results as expected. I had to make minor adjustments based on the errors recived (Probably this is a best way to learn for someone who likes to debug issue, but will be frustrating for those who are new or like things to work as mentioned).What I would like to see:As mentioned earlier, this book is resourceful in many ways but I would have liked to see some information on below points:- A section collating all roles and permissions with access level. (This is explained as when required in some places but a dedicated section would be more informative).- Features that are missing or not availbe out of the box (but acheivable with workarounds) in ADF compared to traditional ETL/ELT tools. This will be useful to those who are experienced in other integration/orchestration tools and trying out ADF. (Though this may not be a need to have in a cookbook but its nice to have).
Amazon Verified review Amazon
AG Apr 15, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Overview: This book is targeted for people with some basic understanding of data warehousing and who is looking to enhance their level of understanding in modern data warehousing tools provided by Microsoft Azure.What I like about this book: I really like how this book is laid out. There is a brief overview of the topics listed in bullet points, in the beginning of each chapter which sets your expectations on what will be covered in the upcoming pages. I also like how this book exhibits some examples before going too much in detail, which is very helpful in understanding the concepts. Whenever there is a process or concept this book is showing how to do it in four different ways: doing it in Azure, using a copy data tool, using python, PowerShell, and templates. Writers have tried their best to explain the concepts using diagrams and screenshots.This is a cookbook and hence it covers various recipes. In the first few chapters of this book, the author starts with a very basic recipe of how to create an account on Microsoft Azure, GitHub links of scripts are also provided to make the user ready to be able to execute all the steps in their MS Azure account all by themselves. Recipe of creating and executing first job in ADF, designing ETL processes, features of cloud data warehousing and Azure Synapse Analytics.As the book advances, they dive into Azure data lake concepts. Connection to Azure data lake and loading data etc. This book also provides good content on when businesses need to move data between different cloud providers including AWS and Google Cloud.This book nicely ends covering how to manage deployment processes with Azure devops. Also, how to monitor and troubleshoot data pipelines.What I disliked: If I really have to tell what is the one thing I would like to add in this book, I would say more screenshots. Other than that it’s a very well written book.
Amazon Verified review Amazon
Sathishkumar Chinnadurai Jan 31, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Good
Amazon Verified review Amazon
Rachael F. Jul 29, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Learned enough to learn about ADF and get me comfortable at work
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.