Book Image

Azure Data Factory Cookbook - Second Edition

By : Dmitry Foshin, Tonya Chernyshova, Dmitry Anoshin, Xenia Ireton
4 (1)
Book Image

Azure Data Factory Cookbook - Second Edition

4 (1)
By: Dmitry Foshin, Tonya Chernyshova, Dmitry Anoshin, Xenia Ireton

Overview of this book

This new edition of the Azure Data Factory book, fully updated to reflect ADS V2, will help you get up and running by showing you how to create and execute your first job in ADF. There are updated and new recipes throughout the book based on developments happening in Azure Synapse, Deployment with Azure DevOps, and Azure Purview. The current edition also runs you through Fabric Data Factory, Data Explorer, and some industry-grade best practices with specific chapters on each. You’ll learn how to branch and chain activities, create custom activities, and schedule pipelines, as well as discover the benefits of cloud data warehousing, Azure Synapse Analytics, and Azure Data Lake Gen2 Storage. With practical recipes, you’ll learn how to actively engage with analytical tools from Azure Data Services and leverage your on-premises infrastructure with cloud-native tools to get relevant business insights. You'll familiarize yourself with the common errors that you may encounter while working with ADF and find out the solutions to them. 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 with its latest advancements as the main ETL and orchestration tool for your data warehouse projects.
Table of Contents (15 chapters)
13
Other Books You May Enjoy
14
Index

Loading data to Azure Synapse Analytics using bulk load

Azure Synapse workspaces allow users to simply load data into a SQL pool with minimal mouse clicks. In this recipe, you will learn how to do this.

Getting ready

You need to have created an Azure Synapse workspace and a SQL pool, and Azure Data Lake Storage Gen2 should be linked to that workspace. The Customers dataset (or any other dataset) should be uploaded to your storage.

How to do it…

  1. Open the Azure Synapse workspace (also known as Synapse Studio).
  2. Click on the Data tab on the left side of your screen:

    Figure 3.22: Creating a new SQL script table in the Synapse Analytics workspace

  1. Expand your SQL pool and click on Actions to the right of Tables. Select New SQL script | New table:

    Figure 3.23 – Creating a new SQL script table in the Synapse Analytics workspace

  1. An automatically generated SQL query for a new table will be shown on the...