Your organization is implementing a medallion architecture in Microsoft Fabric. You need to ingest raw CSV data from an Azure Data Lake Storage (ADLS) Gen2 account into a Lakehouse. The data requires complex transformations, including pivoting and multi-level joins, before it is ready for the Silver layer. Which tool should you use to provide a low-code environment for these transformations?
Trap 1: Data Factory Pipelines with a Copy activity
Copy activities are highly efficient for moving large volumes of data between sources and destinations with minimal transformation. However, they do not support complex logical transformations such as pivoting or multi-level joins within the activity itself, necessitating additional compute stages like Notebooks or Dataflows to refine the data.
Trap 2: T-SQL Stored Procedures in a Warehouse
While T-SQL is powerful for data manipulation, it requires the data to already reside within a Fabric Warehouse or be accessible via external tables. Using stored procedures for initial ingestion and complex pivoting from ADLS Gen2 is less efficient than using purpose-built ingestion tools like Dataflows for low-code requirements.
Trap 3: Spark Job Definitions
Spark Job Definitions allow for the execution of compiled JAR or Python files for high-scale data processing. While extremely powerful and flexible, they are not considered low-code environments and require significant development effort compared to the visual interface of Dataflows Gen2 for standard transformation tasks.
- A
Data Factory Pipelines with a Copy activity
Why wrong: Copy activities are highly efficient for moving large volumes of data between sources and destinations with minimal transformation. However, they do not support complex logical transformations such as pivoting or multi-level joins within the activity itself, necessitating additional compute stages like Notebooks or Dataflows to refine the data.
- B
Dataflows Gen2
Dataflows Gen2 utilize the Power Query Online engine to offer extensive transformation capabilities through a graphical interface. This tool supports sophisticated operations like pivoting columns and joining multiple tables, which are essential for cleaning and restructuring raw data into a usable format for the Silver layer of a Lakehouse.
- C
T-SQL Stored Procedures in a Warehouse
Why wrong: While T-SQL is powerful for data manipulation, it requires the data to already reside within a Fabric Warehouse or be accessible via external tables. Using stored procedures for initial ingestion and complex pivoting from ADLS Gen2 is less efficient than using purpose-built ingestion tools like Dataflows for low-code requirements.
- D
Spark Job Definitions
Why wrong: Spark Job Definitions allow for the execution of compiled JAR or Python files for high-scale data processing. While extremely powerful and flexible, they are not considered low-code environments and require significant development effort compared to the visual interface of Dataflows Gen2 for standard transformation tasks.