SlideShare a Scribd company logo
@cathrinew | cathrinew.net
Session Abstract
@cathrinew
cathrinew.net
You are an
Azure Data Factory
developer
Building Dynamic Data Pipelines in Azure Data Factory (Microsoft Ignite 2019)
This is getting
pretty tedious…
There has to be
a better way!
Dynamic
Solutions
Why would you use dynamic solutions?
How dynamic should the solution be?
How dynamic should the solution be?
What can make a solution dynamic?
Parameters and Variables:
Pass input values and set or update values during runtime
Expressions and Functions:
Modify the content of values during runtime
Loops and Lookups:
Control logic and executions based on external configuration values
Parameters
and Variables
What are Parameters?
How are Parameters passed?
trigger pipeline dataset
user
activity linked service
pipeline
Parameters
@pipeline().parameters.
@dataset().
@linkedService().
ParameterName
ParameterName
ParameterName
Parameters
@pipeline().parameters.
@dataset().
@linkedService().
ParameterName
ParameterName
ParameterName
Parameters
@pipeline().parameters.
@pipeline().DataFactory
@pipeline().TriggerTime
ParameterName
and System Variables
What are Variables?
How are variables controlled?
Set Variable Append Variable
Variables
@variables('VariableName')
@first(variables('VariableName'))
@last(variables('VariableName'))
Variables
@variables('VariableName')
@first(variables('VariableName'))
@last(variables('VariableName'))
Expressions
and Functions
What are Expressions?
the @ symbol
"@toUpper(pipeline().parameters.FileName)"
"COLORS.CSV"
What are Functions?
String:
Date:
Collection:
Logical:
Conversion:
Math:
concat, substring, startswith, endswith …
adddays, addhours, formatDateTime …
co s, f s , s , g h …
f, , o , qu s, ss, g …
createArray, y, jso , xm , …
add, sub, mul, v, m , m x, mo , …
Combining Strings
How to combine strings?
@concat()
@{…}
What is String Concatenation?
@concat(
' TRUNCATE TABLE dbo. ',
pipeline().parameters.TableName
)
What is String Interpolation?
TRUNCATE TABLE dbo.
@{pipeline().parameters.TableName}
DEMO
Let's add some
parameters!
Loops
ForEach Loop Input
@item()
Array Items
Array Items
Array Items
colors
@item()
Array Items
o ch
o ch
o y
o y
o y
o y
o y
o y
@item()
parts
@item()
colors
@item()
sets
Object Items
Object Items
Object Items
{ "Name": "colors", "Extension": "csv" }
@item()
Object Items
{ "Name": "colors", "Extension": "csv" }
@item().Name
Object Items
o ch
o ch
o y
o y
o y
o y
o y
o y
@item().Name
parts
@item().Name
colors
@item().Name
sets
DEMO
Let's add a loop!
Lookups
Lookup
Lookup Output
Lookup Output
Lookup Output: First Row Only
{
"Name" : "colors",
"Extension" : "csv"
}
@{activity('Lookup')
.output.firstRow}
Lookup Output: First Row Only
{
"Name" : "colors",
"Extension" : "csv"
}
@{activity('Lookup')
.output.firstRow
.Name}
Lookup Output: All Rows
@{activity('Lookup')
.output.value}
[
{
"Name" : "parts",
"Extension" : "csv"
},
{
"Name" : "sets",
"Extension" : "csv"
}
]
Lookup Output
First Row Only:
Use to pass single values to another activity
@{activity('Lookup').output.firstRow.ColumnName}
All Rows:
Use to pass entire collection to another activity
@{activity('Lookup').output.value}
DEMO
Let's add a lookup!
How do you make dynamic solutions?
1.
2. with parameters
3. solution in a loop
4. from configuration table
Good luck!
@cathrinew
cathrinew.net
hi@cathrinew.net
thank you!
Building Dynamic Data Pipelines in Azure Data Factory (Microsoft Ignite 2019)

More Related Content

PDF
Building Dynamic Pipelines in Azure Data Factory (SQLSaturday Oslo)
PDF
PPTX
Data Lakehouse, Data Mesh, and Data Fabric (r2)
PPTX
Data Lakehouse, Data Mesh, and Data Fabric (r1)
PDF
Data Mesh Part 4 Monolith to Mesh
PDF
Activate Data Governance Using the Data Catalog
PDF
8 Steps to Creating a Data Strategy
PDF
Using Databricks as an Analysis Platform
Building Dynamic Pipelines in Azure Data Factory (SQLSaturday Oslo)
Data Lakehouse, Data Mesh, and Data Fabric (r2)
Data Lakehouse, Data Mesh, and Data Fabric (r1)
Data Mesh Part 4 Monolith to Mesh
Activate Data Governance Using the Data Catalog
8 Steps to Creating a Data Strategy
Using Databricks as an Analysis Platform

What's hot (20)

PDF
Databricks: A Tool That Empowers You To Do More With Data
PPTX
How to Build & Sustain a Data Governance Operating Model
PPTX
Azure data platform overview
PPTX
Introduction to Data Engineering
PDF
How a Semantic Layer Makes Data Mesh Work at Scale
PPTX
Free Training: How to Build a Lakehouse
PPTX
Data Lake Overview
PPTX
Databricks Platform.pptx
PPTX
Data Lakehouse Symposium | Day 4
PDF
Data Quality Best Practices
PDF
Data Mesh 101
PPT
Data Architecture for Data Governance
PDF
Building Lakehouses on Delta Lake with SQL Analytics Primer
PPTX
Introduction to Data Engineering
PDF
Data Warehouse or Data Lake, Which Do I Choose?
PPTX
Introducing Azure SQL Data Warehouse
PPTX
Data Center Migration to the AWS Cloud
PDF
Master Data Management - Aligning Data, Process, and Governance
PDF
Introduction SQL Analytics on Lakehouse Architecture
PDF
DAS Slides: Building a Data Strategy — Practical Steps for Aligning with Busi...
Databricks: A Tool That Empowers You To Do More With Data
How to Build & Sustain a Data Governance Operating Model
Azure data platform overview
Introduction to Data Engineering
How a Semantic Layer Makes Data Mesh Work at Scale
Free Training: How to Build a Lakehouse
Data Lake Overview
Databricks Platform.pptx
Data Lakehouse Symposium | Day 4
Data Quality Best Practices
Data Mesh 101
Data Architecture for Data Governance
Building Lakehouses on Delta Lake with SQL Analytics Primer
Introduction to Data Engineering
Data Warehouse or Data Lake, Which Do I Choose?
Introducing Azure SQL Data Warehouse
Data Center Migration to the AWS Cloud
Master Data Management - Aligning Data, Process, and Governance
Introduction SQL Analytics on Lakehouse Architecture
DAS Slides: Building a Data Strategy — Practical Steps for Aligning with Busi...
Ad

Similar to Building Dynamic Data Pipelines in Azure Data Factory (Microsoft Ignite 2019) (20)

PDF
Informatica power center_Course Content.pdf
PPT
Performance Of Callidus TrueComp Pipeline And Datamart ETL And Reports
PPT
Callidus Software Product Installation And Performance Tuning
PPS
About Qtp_1 92
PPS
About QTP 9.2
PPS
About Qtp 92
PPTX
Presentación Oracle Database Migración consideraciones 10g/11g/12c
PPTX
SQL Server End Of Support
PDF
Leveraging HPE ALM & QuerySurge to test HPE Vertica
PPT
Optimizing Callidus TrueComp Suite: Tips and Tricks
PPT
Intro to tsql
PPT
Intro to tsql unit 14
PDF
Validation and Quality Control with FME and FME Server
PDF
Modernizing SQL Server the Right Way
PPTX
Communication nertwork and network design
PPT
Instrumentation and measurement
PDF
TensorFlow Extended: An End-to-End Machine Learning Platform for TensorFlow
PDF
AnalytiX DS - Master Deck
PDF
Demantra training at hyderabad
PDF
Demantra training in hyderabad
Informatica power center_Course Content.pdf
Performance Of Callidus TrueComp Pipeline And Datamart ETL And Reports
Callidus Software Product Installation And Performance Tuning
About Qtp_1 92
About QTP 9.2
About Qtp 92
Presentación Oracle Database Migración consideraciones 10g/11g/12c
SQL Server End Of Support
Leveraging HPE ALM & QuerySurge to test HPE Vertica
Optimizing Callidus TrueComp Suite: Tips and Tricks
Intro to tsql
Intro to tsql unit 14
Validation and Quality Control with FME and FME Server
Modernizing SQL Server the Right Way
Communication nertwork and network design
Instrumentation and measurement
TensorFlow Extended: An End-to-End Machine Learning Platform for TensorFlow
AnalytiX DS - Master Deck
Demantra training at hyderabad
Demantra training in hyderabad
Ad

More from Cathrine Wilhelmsen (20)

PDF
Fra utvikler til arkitekt: Skap din egen karrierevei ved å utvikle din person...
PDF
One Year in Fabric: Lessons Learned from Implementing Real-World Projects (PA...
PDF
Data Factory in Microsoft Fabric (MsBIP #82)
PDF
Getting Started: Data Factory in Microsoft Fabric (Microsoft Fabric Community...
PDF
Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac...
PDF
Website Analytics in My Pocket using Microsoft Fabric (SQLBits 2024)
PDF
Data Integration using Data Factory in Microsoft Fabric (ESPC Microsoft Fabri...
PDF
Choosing between Fabric, Synapse and Databricks (Data Left Unattended 2023)
PDF
Data Integration with Data Factory (Microsoft Fabric Day Oslo 2023)
PDF
The Battle of the Data Transformation Tools (PASS Data Community Summit 2023)
PDF
Visually Transform Data in Azure Data Factory or Azure Synapse Analytics (PAS...
PDF
Building an End-to-End Solution in Microsoft Fabric: From Dataverse to Power ...
PDF
Website Analytics in my Pocket using Microsoft Fabric (AdaCon 2023)
PDF
Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac...
PDF
Stressed, Depressed, or Burned Out? The Warning Signs You Shouldn't Ignore (D...
PDF
Stressed, Depressed, or Burned Out? The Warning Signs You Shouldn't Ignore (S...
PDF
"I can't keep up!" - Turning Discomfort into Personal Growth in a Fast-Paced ...
PDF
Lessons Learned: Implementing Azure Synapse Analytics in a Rapidly-Changing S...
PDF
6 Tips for Building Confidence as a Public Speaker (SQLBits 2022)
PDF
Lessons Learned: Understanding Pipeline Pricing in Azure Data Factory and Azu...
Fra utvikler til arkitekt: Skap din egen karrierevei ved å utvikle din person...
One Year in Fabric: Lessons Learned from Implementing Real-World Projects (PA...
Data Factory in Microsoft Fabric (MsBIP #82)
Getting Started: Data Factory in Microsoft Fabric (Microsoft Fabric Community...
Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac...
Website Analytics in My Pocket using Microsoft Fabric (SQLBits 2024)
Data Integration using Data Factory in Microsoft Fabric (ESPC Microsoft Fabri...
Choosing between Fabric, Synapse and Databricks (Data Left Unattended 2023)
Data Integration with Data Factory (Microsoft Fabric Day Oslo 2023)
The Battle of the Data Transformation Tools (PASS Data Community Summit 2023)
Visually Transform Data in Azure Data Factory or Azure Synapse Analytics (PAS...
Building an End-to-End Solution in Microsoft Fabric: From Dataverse to Power ...
Website Analytics in my Pocket using Microsoft Fabric (AdaCon 2023)
Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac...
Stressed, Depressed, or Burned Out? The Warning Signs You Shouldn't Ignore (D...
Stressed, Depressed, or Burned Out? The Warning Signs You Shouldn't Ignore (S...
"I can't keep up!" - Turning Discomfort into Personal Growth in a Fast-Paced ...
Lessons Learned: Implementing Azure Synapse Analytics in a Rapidly-Changing S...
6 Tips for Building Confidence as a Public Speaker (SQLBits 2022)
Lessons Learned: Understanding Pipeline Pricing in Azure Data Factory and Azu...

Recently uploaded (20)

PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Business Analytics and business intelligence.pdf
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
Introduction to machine learning and Linear Models
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PDF
Mega Projects Data Mega Projects Data
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
Supervised vs unsupervised machine learning algorithms
STUDY DESIGN details- Lt Col Maksud (21).pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Fluorescence-microscope_Botany_detailed content
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Clinical guidelines as a resource for EBP(1).pdf
Business Analytics and business intelligence.pdf
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Business Acumen Training GuidePresentation.pptx
Introduction-to-Cloud-ComputingFinal.pptx
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Introduction to machine learning and Linear Models
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Mega Projects Data Mega Projects Data

Building Dynamic Data Pipelines in Azure Data Factory (Microsoft Ignite 2019)