Both are Azure data services often used together, but they have different purposes. Azure Data Factory (ADF) - A cloud data integration and orchestration service (ETL/ELT). - Moves and transforms data between more than 90 sources and destinations: on-premises SQL Server, Azure SQL, Blob Storage, Data Lake, Salesforce, SAP, REST APIs and more. - Main concepts: - Pipelines: workflows of activities. - Activities: Copy data, Data Flow (visual transformations), Lookup, ForEach, If Condition, Web, Stored Procedure, and activities that run Databricks notebooks. - Linked services: connections to data stores and compute. - Datasets: the data structures used by activities. - Triggers: schedule, tumbling window, storage events or manual. - Integration runtimes: Azure, self-hosted (for on-premises data) and Azure-SSIS (to run existing SSIS packages). - Low-code, visual authoring; best for data movement, scheduling and orchestration of data workflows. - Similar capabilities are also offered as Data Factory in Microsoft Fabric. Azure Databricks - A unified analytics platform based on Apache Spark, provided by Databricks in partnership with Microsoft. - Used for large-scale data processing, data engineering, data science and machine learning. - Features: - Collaborative notebooks in Python, SQL, Scala and R. - Managed Spark clusters with autoscaling, plus serverless compute. - Delta Lake for reliable lakehouse storage (ACID transactions, schema enforcement, time travel). - Unity Catalog for governance; MLflow for machine learning lifecycle; Databricks SQL for analytics. - Streaming (Structured Streaming) and workflows (Databricks Jobs) for scheduling. - Code-first; best for complex transformations, big data computation, advanced analytics and ML. Key differences - Primary purpose: ADF orchestrates and moves data; Databricks processes and analyses data at scale. - Approach: ADF is low-code and visual; Databricks is code-centric (notebooks and Spark). - Compute: ADF uses integration runtimes and mapping data flows (which run on Spark behind the scenes) for moderate transformations; Databricks gives full control over Spark clusters for heavy processing. - Users: data integration engineers vs data engineers and data scientists. - Machine learning: not an ADF capability; built into Databricks. - Cost model: ADF charges per pipeline activity and data movement; Databricks charges for compute (DBUs plus VM costs). How they work together (very common) 1. ADF copies raw data from operational systems into Azure Data Lake Storage on a schedule. 2. ADF triggers a Databricks notebook or job to clean, join and aggregate the data into Delta tables (bronze, silver, gold medallion layers). 3. Results feed Power BI dashboards, Azure Synapse or ML models. 4. ADF monitors and retries the whole workflow. Interview summary: "Azure Data Factory is the orchestration and data movement tool — pipelines, connectors and scheduling. Azure Databricks is the Spark-based processing and analytics platform for heavy transformations and machine learning. Typically ADF orchestrates and Databricks transforms."
Ravindra Wadile · · 0 likes