SlideShare a Scribd company logo
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Big Data Technologies
Apache Spark Core APIs
RDDs, DataFrame, Datasets
Spark SQL
GraphX /
GraphFrames
(graph)
Structured
Streaming
Mllib
(machine
learning)
Spark: The Definitive Guide
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Source: http://spark.apache.org/
Structured
Streaming
Advanced
Analytics
Libraries &
Ecosystem
Low Level APIs
Structure APIs
Datasets DataFrame SQL
RDDs Distributed Variables
Driver
Cluster Manager
Executor
Spark Session
User code
Executor Executor
Distributed Data Structure
Partition Partition Partition
Partition Partition Partition
Building Advanced Analytics Pipelines with Azure Databricks
Managed Apache Spark platform optimized for Azure
Microsoft Azure
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Optimized Databricks Runtime Engine
DATABRICKS I/O SERVERLESS
Collaborative Workspace
Cloud storage
Data warehouses
Hadoop storage
IoT / streaming data
Rest APIs
Machine learning models
BI tools
Data exports
Data warehouses
AZURE DATABRICKS
Enhance Productivity
Deploy Production Jobs & Workflows
APACHE SPARK
MULTI-STAGE PIPELINES
DATA ENGINEER
JOB SCHEDULER NOTIFICATION & LOGS
DATA SCIENTIST BUSINESS ANALYST
Build on secure & trusted cloud Scale without limits
Cosmos DB
Kafka on HDInsight
Event Hubs
Power BI
SQL DW
Data Factory
O R C H E S T R A T I O N
Storage (Azure) Azure Data Lake
S T O R A G E
I N G E S T V I S U A L I Z E
S E C U R E Azure Active Directory
A Z U RE DATA BRIC KS
Building Advanced Analytics Pipelines with Azure Databricks
DBFS
Storage blob
CLI
Building Advanced Analytics Pipelines with Azure Databricks
http://kdd.ics.uci.edu/databases/kdd
cup99/kddcup99.html
Building Advanced Analytics Pipelines with Azure Databricks
Apache Spark Core APIs
RDDs, DataFrame, Datasets
Spark SQL
GraphX
(graph)
Structured
Streaming
Mllib
(machine
learning)
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks



Apache Spark Core APIs
RDDs, DataFrame, Datasets
Spark SQL
GraphX
(graph)
Structured
Streaming
Mllib
(machine
learning)
DataFrame
DataFrame
DataFrame
ParamMap ParamMap
DataFrame DataFrame
ParamMap ParamMap
DataFrame DataFrame
DataFrame
Building Advanced Analytics Pipelines with Azure Databricks
https://github.com/Azure/mmlspark
https://spark-packages.org/
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
1.
2.
 Collaborative Workspace
Deploy Production Jobs & Workflows
MULTI-STAGE PIPELINES
DATA ENGINEER
JOB SCHEDULER NOTIFICATION & LOGS
DATA SCIENTIST BUSINESS ANALYST
Apache Spark Core APIs
RDDs, DataFrame, Datasets
Spark SQL
GraphX
(graph)
Structured
Streaming
Mllib
(machine
learning)
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
https://github.com/devlace/azure-databricks-anomaly
https://github.com/devlace/azure-databricks-
recommendation-system
Official Apache Spark website
Azure Databricks Documentation
[Book] Spark: The Definitive Guide
Building Advanced Analytics Pipelines with Azure Databricks
CONTROL EASE OF USE
Azure Data Lake Store
Azure Storage
Any Hadoop technology,
any distribution
Workload optimized,
managed clusters
Data Engineering in a
Job-as-a-service model
Azure Marketplace
HDP | CDH | MapR
Azure Data Lake
Analytics
IaaS Clusters Managed Clusters Big Data as-a-service
Azure HDInsight
Frictionless & Optimized
Spark clusters
Azure Databricks
BIGDATA
STORAGE
BIGDATA
ANALYTICS
ReducedAdministration

More Related Content

PDF
Lessons Learned: Understanding Pipeline Pricing in Azure Data Factory and Azu...
Cathrine Wilhelmsen
 
PPTX
Azure Data Lake Intro (SQLBits 2016)
Michael Rys
 
PPTX
Azure data platform overview
James Serra
 
PPTX
DW Migration Webinar-March 2022.pptx
Databricks
 
PDF
Data Mesh Part 4 Monolith to Mesh
Jeffrey T. Pollock
 
PPTX
Azure DataBricks for Data Engineering by Eugene Polonichko
Dimko Zhluktenko
 
PPTX
Technical overview of Azure Cosmos DB
Microsoft Tech Community
 
PDF
The Future of Data Science and Machine Learning at Scale: A Look at MLflow, D...
Databricks
 
Lessons Learned: Understanding Pipeline Pricing in Azure Data Factory and Azu...
Cathrine Wilhelmsen
 
Azure Data Lake Intro (SQLBits 2016)
Michael Rys
 
Azure data platform overview
James Serra
 
DW Migration Webinar-March 2022.pptx
Databricks
 
Data Mesh Part 4 Monolith to Mesh
Jeffrey T. Pollock
 
Azure DataBricks for Data Engineering by Eugene Polonichko
Dimko Zhluktenko
 
Technical overview of Azure Cosmos DB
Microsoft Tech Community
 
The Future of Data Science and Machine Learning at Scale: A Look at MLflow, D...
Databricks
 

What's hot (20)

PPTX
Azure Data Factory ETL Patterns in the Cloud
Mark Kromer
 
PDF
Azure Synapse Analytics
WinWire Technologies Inc
 
PDF
Introducing Databricks Delta
Databricks
 
PPTX
Azure Synapse Analytics Overview (r2)
James Serra
 
PDF
Intro to Delta Lake
Databricks
 
PPTX
Designing modern dw and data lake
punedevscom
 
PPTX
SQL to Azure Migrations
Datavail
 
PDF
Azure+Databricks+Course+Slide+Deck+V4.pdf
Chitresh Kaushik
 
PDF
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)
Cathrine Wilhelmsen
 
PPT
Data Lakehouse Symposium | Day 1 | Part 2
Databricks
 
PPTX
Azure Synapse Analytics Overview (r1)
James Serra
 
PDF
Achieving Lakehouse Models with Spark 3.0
Databricks
 
PPTX
Microsoft Fabric Introduction
James Serra
 
PDF
Introduction SQL Analytics on Lakehouse Architecture
Databricks
 
PDF
AWS Glue - let's get stuck in!
Chris Taylor
 
PPTX
Is the traditional data warehouse dead?
James Serra
 
PDF
Snowflake: The most cost-effective agile and scalable data warehouse ever!
Visual_BI
 
PPTX
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
DataScienceConferenc1
 
PPTX
Introduction to azure cosmos db
Ratan Parai
 
PDF
3D: DBT using Databricks and Delta
Databricks
 
Azure Data Factory ETL Patterns in the Cloud
Mark Kromer
 
Azure Synapse Analytics
WinWire Technologies Inc
 
Introducing Databricks Delta
Databricks
 
Azure Synapse Analytics Overview (r2)
James Serra
 
Intro to Delta Lake
Databricks
 
Designing modern dw and data lake
punedevscom
 
SQL to Azure Migrations
Datavail
 
Azure+Databricks+Course+Slide+Deck+V4.pdf
Chitresh Kaushik
 
Pipelines and Packages: Introduction to Azure Data Factory (DATA:Scotland 2019)
Cathrine Wilhelmsen
 
Data Lakehouse Symposium | Day 1 | Part 2
Databricks
 
Azure Synapse Analytics Overview (r1)
James Serra
 
Achieving Lakehouse Models with Spark 3.0
Databricks
 
Microsoft Fabric Introduction
James Serra
 
Introduction SQL Analytics on Lakehouse Architecture
Databricks
 
AWS Glue - let's get stuck in!
Chris Taylor
 
Is the traditional data warehouse dead?
James Serra
 
Snowflake: The most cost-effective agile and scalable data warehouse ever!
Visual_BI
 
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
DataScienceConferenc1
 
Introduction to azure cosmos db
Ratan Parai
 
3D: DBT using Databricks and Delta
Databricks
 
Ad

Similar to Building Advanced Analytics Pipelines with Azure Databricks (20)

PPTX
MongoDB and Azure Databricks
MongoDB
 
PDF
Spark as a Service with Azure Databricks
Lace Lofranco
 
PPTX
Azure Databricks & Spark @ Techorama 2018
Nathan Bijnens
 
PPTX
Azure Databricks - An Introduction 2019 Roadshow.pptx
pascalsegoul
 
PPTX
Azure Databricks - An Introduction (by Kris Bock)
Daniel Toomey
 
PPTX
Azure Databricks is Easier Than You Think
Ike Ellis
 
PDF
Azure databricks c sharp corner toronto feb 2019 heather grandy
Nilesh Shah
 
PPTX
TechEvent Databricks on Azure
Trivadis
 
PPTX
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...
Michael Rys
 
PPTX
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
Simplilearn
 
PPTX
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...
Michael Rys
 
PPTX
The Roadmap for SQL Server 2019
Amit Banerjee
 
PDF
Spark + AI Summit 2020 イベント概要
Paulo Gutierrez
 
PPTX
.NET for Azure Synapse (and viceversa)
Marco Parenzan
 
PPTX
big data analytics (BAD601) Module-5.pptx
AmbikaVenkatesh4
 
PDF
Databricks with R: Deep Dive
Databricks
 
PPTX
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
Simplilearn
 
PDF
What is Apache Spark | Apache Spark Tutorial For Beginners | Apache Spark Tra...
Edureka!
 
PDF
Master Databricks with AccentFuture – Online Training
Accentfuture
 
PPTX
Lighting up Big Data Analytics with Apache Spark in Azure
Jen Stirrup
 
MongoDB and Azure Databricks
MongoDB
 
Spark as a Service with Azure Databricks
Lace Lofranco
 
Azure Databricks & Spark @ Techorama 2018
Nathan Bijnens
 
Azure Databricks - An Introduction 2019 Roadshow.pptx
pascalsegoul
 
Azure Databricks - An Introduction (by Kris Bock)
Daniel Toomey
 
Azure Databricks is Easier Than You Think
Ike Ellis
 
Azure databricks c sharp corner toronto feb 2019 heather grandy
Nilesh Shah
 
TechEvent Databricks on Azure
Trivadis
 
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...
Michael Rys
 
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
Simplilearn
 
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...
Michael Rys
 
The Roadmap for SQL Server 2019
Amit Banerjee
 
Spark + AI Summit 2020 イベント概要
Paulo Gutierrez
 
.NET for Azure Synapse (and viceversa)
Marco Parenzan
 
big data analytics (BAD601) Module-5.pptx
AmbikaVenkatesh4
 
Databricks with R: Deep Dive
Databricks
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
Simplilearn
 
What is Apache Spark | Apache Spark Tutorial For Beginners | Apache Spark Tra...
Edureka!
 
Master Databricks with AccentFuture – Online Training
Accentfuture
 
Lighting up Big Data Analytics with Apache Spark in Azure
Jen Stirrup
 
Ad

Recently uploaded (20)

PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Chapter 1 Introduction to CV and IP Lecture Note.pdf
Getnet Tigabie Askale -(GM)
 
PPTX
Coupa-Overview _Assumptions presentation
annapureddyn
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Best ERP System for Manufacturing in India | Elite Mindz
Elite Mindz
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
DevOps & Developer Experience Summer BBQ
AUGNYC
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Stamford - Community User Group Leaders_ Agentblazer Status, AI Sustainabilit...
Amol Dixit
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Chapter 1 Introduction to CV and IP Lecture Note.pdf
Getnet Tigabie Askale -(GM)
 
Coupa-Overview _Assumptions presentation
annapureddyn
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
This slide provides an overview Technology
mineshkharadi333
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Best ERP System for Manufacturing in India | Elite Mindz
Elite Mindz
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
DevOps & Developer Experience Summer BBQ
AUGNYC
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Stamford - Community User Group Leaders_ Agentblazer Status, AI Sustainabilit...
Amol Dixit
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Doc9.....................................
SofiaCollazos
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 

Building Advanced Analytics Pipelines with Azure Databricks

Editor's Notes

  • #3: Azure Databricks? Spark? Machine Learning? Scikit?
  • #8: Talking points: Unified. Computing engine. Not a storage solution (interfaces w/ existing storage) Libraries (Mllib, GraphX, Spark SQL, Structured Streaming, open source packages)
  • #10: Developers can also choose to cache For Jobs that reuse over again a particular Dataset
  • #12: Different layers of API (low and high) High over
  • #13: Objective: Describe a running spark application Talking points: SparkSession Driver – heart of Spark app Responding to user’s program or input Maintaning info about spark app Analyze, distribute, schedule work across executors Executors Doing actual work assigned by driver Reporting back to driver Cluster manager Spark can use three difference cluster managers (including built in Spark cluster manager) Cluster Managers manage actual resources CAREFUL with collects
  • #15: Fun fact: Employees of Databricks have written over 75% of the code in Apache Spark
  • #16: OBJECTIVE: Show how easy it is to get started - Create Databricks workspace - Create a spark cluster Create a notebook Import notebook: https://databricks.com/resources/type/example-notebooks
  • #17: Only a small fraction of real-world ML systems is composed of the ML code, as shown by the small black box in the middle. The required surrounding infrastructure is vast and complex.
  • #19: Also tight azure integration
  • #20: Workspaces Workspaces allow you to organize all the work that you are doing on Databricks. Like a folder structure in your computer, it allows you to save notebooks and libraries and share them with other users. Workspaces are not connected to data and should not be used to store data. They're simply for you to store the notebooks and libraries that you use to operate on and manipulate your data with. Notebooks Notebooks are a set of any number of cells that allow you to execute commands. Cells hold code in any of the following languages: Scala, Python, R, SQL, or Markdown. Notebooks have a default language, but each cell can have a language override to another language. This is done by including %[language name] at the top of the cell. For instance %python. We'll see this feature shortly. Notebooks need to be connected to a cluster in order to be able to execute commands however they are not permanently tied to a cluster. This allows notebooks to be shared via the web or downloaded onto your local machine. Here is a demonstration video of Notebooks. Dashboards Dashboards can be created from notebooks as a way of displaying the output of cells without the code that generates them. Notebooks can also be scheduled as jobs in one click either to run a data pipeline, update a machine learning model, or update a dashboard. Libraries Libraries are packages or modules that provide additional functionality that you need to solve your business problems. These may be custom written Scala or Java jars; Python eggs or custom written packages. You can write and upload these manually or you may install them directly via package management utilities like pypi or maven. Tables Tables are structured data that you and your team will use for analysis. Tables can exist in several places. Tables can be stored in cloud storage, they can be stored on the cluster that you're currently using, or they can be cached in memory. For more about tables see the documentation. Clusters Clusters are groups of computers that you treat as a single computer. In Databricks, this means that you can effectively treat 20 computers as you might treat one computer. Clusters allow you to execute code from notebooks or libraries on set of data. That data may be raw data located on cloud storage or structured data that you uploaded as a table to the cluster you are working on. It is important to note that clusters have access controls to control who has access to each cluster. Here is a demonstration video of Clusters. Jobs Jobs are the tool by which you can schedule execution to occur either on an already existing cluster or a cluster of its own. These can be notebooks as well as jars or Python scripts. They can be created either manually or via the REST API. Here is a demonstration video of Jobs. Apps Apps are third party integrations with the Databricks platform. These include applications like Tableau.
  • #21: If Spark is computing engine, where does Databricks store the data?
  • #22: Mount Blob Storage (WITHOUT SECRET API)
  • #23: Anomaly detection problem - Either simple classification, the distribution is known - Anomaly is outside of the distribution
  • #26: DEMO ARCHI IN NEXT SLIDE!! Create a spark SQL notebook Spark SQL, setup tables Show Tables created under Data tab
  • #27: Create a spark SQL notebook Spark SQL, setup tables Show Tables created under Data tab
  • #28: Word of warning: two MLLib libraries, old RDD
  • #29: Start with a SparkSQL DataFrame... Specific API
  • #30: High-level abstractions to transform data: Transformers and Estimators
  • #31: Unified set of parameters
  • #32: DataFrame Transformers Estimators Pipeline Parameters
  • #33: GOAL: Explain Estimators vs Transformers Output of an estimator is a “trained model”, which is a Transformer (takes in a DataFrame of inputs records and makes predictions)
  • #34: Objective: Mllib is feature rich and support the usual requirements of any ML library Extraction: Extracting features from “raw” data Transformation: Scaling, converting, or modifying features Selection: Selecting a subset from a larger set of features Locality Sensitive Hashing (LSH): This class of algorithms combines aspects of feature transformation with other algorithms.
  • #36: DEMO ARCHI IN NEXT SLIDE!!
  • #37: Explore data Train model multiple Train model with custom estimator
  • #41: As a data engineer, no need to rewrite model… just load it Creating an scheduling Job