Build Customer Lakehouse Pipeline
Build a production-oriented customer data pipeline from source ingestion through Bronze, Silver, and Gold layers, making trusted customer data available for enterprise analytics.
Project Brief
Understand the business problem before designing the technical solution.
Business Requirement
A company has introduced a new Customer Management System. Customer information is generated by the source system and delivered to cloud storage for downstream processing.
The data engineering team needs a new production pipeline that ingests the customer data, validates and transforms it, and publishes a trusted customer dataset for analytics and reporting.
Your Responsibility
You are responsible for designing and developing the complete data pipeline from source ingestion through the final analytics-ready customer dataset.
Source System
Understand the source contract before designing the pipeline.
Source Overview
Customer data originates from the Customer Management System. The source system produces customer records that are delivered to the data platform for downstream processing and analytics.
Delivery Pattern
Customer data is delivered as a daily batch feed. Each delivery represents customer information received from the source system for processing by the data engineering platform.
Input Format
Customer Dataset
The primary source dataset is a customer master feed containing customer identity, contact, registration, and lifecycle information.
| Column | Data Type | Business Meaning |
|---|---|---|
customer_id | STRING | Unique identifier assigned to the customer. |
customer_name | STRING | Full name of the customer. |
email | STRING | Primary email address associated with the customer. |
phone | STRING | Customer contact number. |
country | STRING | Country associated with the customer. |
registration_date | DATE | Date on which the customer registered. |
status | STRING | Current lifecycle status of the customer. |
Known Source Constraints
The source contract defines what the pipeline receives. It does not prescribe how you should implement ingestion, cleansing, deduplication, validation, or storage. Those are engineering decisions that you must make as part of this development task.
Expected Architecture
Design the solution using a layered lakehouse architecture.
Target Data Flow
The customer pipeline should follow a layered architecture where raw source data is preserved, business transformations are applied in controlled stages, and the final dataset is prepared for analytics consumption.
Layer Responsibilities
Architectural Expectations
The architecture defines the expected responsibilities of each layer. The implementation approach, transformation strategy, partitioning approach, naming conventions, and processing logic are engineering decisions that must be determined by you.
Development Requirements
The solution must address the following engineering responsibilities.
Developer Objective
Build the customer data pipeline described in the business requirement and architecture sections. The implementation should process the incoming customer dataset through the required data layers and produce a trusted analytics-ready customer dataset.
You are expected to make the technical decisions required to implement the solution while following the architectural and business requirements defined in this task.
Source Ingestion
Establish a reliable process for reading customer data from the configured landing location.
Bronze Layer
Create the raw customer data layer while preserving the source information required for traceability.