Skip to content

Fix null customer first names in silver transformation - #15

Open
drop2vsk wants to merge 1 commit into
DataWithBaraa:mainfrom
drop2vsk:fix-crm-cust-info-null-firstname
Open

Fix null customer first names in silver transformation#15
drop2vsk wants to merge 1 commit into
DataWithBaraa:mainfrom
drop2vsk:fix-crm-cust-info-null-firstname

Conversation

@drop2vsk

Copy link
Copy Markdown

Description

While validating the Bronze-to-Silver transformation for crm_cust_info, I noticed a data-quality issue where a record with cst_key = A01Ass has a NULL value for cst_firstname.

During row-count validation, I observed:

silver.erp_loc_a101: 18,484 rows
silver.crm_cust_info: 18,485 rows

Further investigation identified the above record with a NULL cst_firstname.

Changes Made

I added a condition to the transformation to prevent records with a NULL cst_firstname from being loaded into the Silver layer:

AND cst_firstname IS NOT NULL

Validation

I verified the affected record and checked the transformation logic after applying the change.

Expected Result

Records with a NULL cst_firstname will no longer be loaded into silver.crm_cust_info.

I would appreciate a review of this change and any feedback regarding the proposed transformation logic.

@drop2vsk
drop2vsk marked this pull request as draft August 25, 2026 15:05
@drop2vsk
drop2vsk marked this pull request as ready for review August 25, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant