Skip to main content
ENH-2026-001

Customer Segmentation Integration

You have been assigned a production enhancement request from the Sales Analytics organization. Review the business requirements and understand stakeholder expectations before beginning technical implementation.

Priority
HIGH
Status
Analysis Phase
Assigned Role
Senior Data Engineer
Target Release
Sprint 14

Stakeholder Communication Center

Sales Director
Business Stakeholder
We need customer segmentation available in executive dashboards before the quarterly business review.
Finance Lead
Reporting Consumer
Revenue reporting currently requires manual categorization which is impacting monthly reporting efficiency.
Engineering Manager
Data Platform
Please assess downstream impacts across Databricks, Snowflake and reporting layers before implementation.

Change Request Summary

Request Title
Customer Segmentation Integration
Change Type
Schema Enhancement
Requested By
Sales Analytics Team
Business Value
Segment Wise Revenue Reporting
Acceptance Criteria
โœ“
Bronze Layer Updated
โœ“
Silver Layer Updated
โœ“
Gold Layer Updated
โœ“
Snowflake Updated
โœ“
Dashboard Updated
โœ“
Historical Data Validated

Business Impact Dashboard

Affected Pipelines
4
Affected Tables
7
Affected Dashboards
3
Business Users
145
Expected ROI
HIGH
Deployment Risk
MEDIUM

Impact Analysis Board

Databricks Impact

โ—bronze_customer
โ—silver_customer
โ—gold_customer_revenue

Snowflake Impact

โ—DIM_CUSTOMER
โ—FACT_REVENUE

Airflow Impact

โ—customer_ingestion_dag
โ—revenue_reporting_dag

Dashboard Impact

โ—Executive Revenue Dashboard
โ—Finance KPI Dashboard

Engineering Assessment Decision

Before implementing the enhancement, determine the most appropriate first engineering activity.

Proposed Solution Architecture

Based on impact analysis, determine the safest implementation strategy for introducing the new customer_segment column.

Proposed Architecture Flow
Source System
โ†“
Bronze Customer Table
โ†“
Silver Customer Table
โ†“
Gold Revenue Mart
โ†“
Snowflake Reporting Layer
โ†“
Executive Dashboards

Choose the Safest Implementation Strategy

Technical Design Review

Before implementation begins, review all affected assets and identify the correct starting point for the enhancement.

Databricks Assets

โ—bronze_customer_ingestion
โ—silver_customer_transform
โ—gold_customer_revenue

Snowflake Assets

โ—DIM_CUSTOMER
โ—FACT_REVENUE

Airflow Assets

โ—customer_ingestion_dag
โ—customer_reporting_dag

Which Asset Should Be Updated First?

Implementation Phase Approval

All planning, impact assessment and design reviews have been completed. The enhancement request is now approved for development.

Status
DESIGN APPROVED
Change Request
READY FOR DEVELOPMENT
Environment
DATABRICKS DEV
Development Authorization Granted
You may now begin implementation activities within the Databricks Development Workspace.
Next Opening Databricks Workspace Below

Databricks Workspace

Review the current schema before implementing the enhancement request.

Current Bronze Schema

customer_id
customer_name
country
signup_date

Requested Schema

customer_id
customer_name
country
signup_date
customer_segment

Bronze Layer Notebook Review

Open the ingestion notebook and review the existing implementation before applying the enhancement.

๐Ÿ“’ bronze_customer_ingestion
Cluster Running
source_df = (
    spark.read.format("csv")
    .option("header", True)
    .load(source_path)
)

bronze_df = source_df.select(
    "customer_id",
    "customer_name",
    "country",
    "signup_date"
)
Engineering Observation
Business requested the new customer_segment column, but the notebook currently selects only four columns from the source file.

What modification is required?

Code Modification Workspace

Review the proposed notebook modification before submitting the change.

Current Implementation

bronze_df = source_df.select(
    "customer_id",
    "customer_name",
    "country",
    "signup_date"
)

Proposed Implementation

bronze_df = source_df.select(
    "customer_id",
    "customer_name",
    "country",
    "signup_date",
    "customer_segment"
)

Change Summary

โœ“ Added customer_segment column
โœ“ Supports sales segmentation reporting
โœ“ Required for downstream propagation

Bronze Layer Validation Workspace

The notebook execution completed successfully. Validate the enhancement before promoting the change downstream.

Schema ValidationPASSED
Row Count ValidationPASSED
Null ValidationPASSED
Duplicate ValidationPASSED

Sample Data Preview

customer_id
customer_name
customer_segment
1001
John Smith
Premium
1002
Maria Garcia
Standard

Which validation is MOST important?

โœ“ Bronze Layer Complete

The new customer_segment column has been successfully ingested and validated within the Bronze layer.

๐Ÿ”“ Silver Layer Unlocked