Planning and branding × Data engineering
Business lens: Planning and branding · Technology lens: Data engineering
Reading scope: Original synthetic business-computing teaching with explicit boundaries. Primary links support selected background, not the invented organisations, figures or tested outcomes.
Audience data must preserve the meaning of the campaign
A home-services firm plans a local campaign for customers eligible for an annual maintenance offer. Marketing receives a spreadsheet assembled from customer, service and preference systems. A row count becomes the planned audience size, although some rows are duplicated and some eligibility evidence is missing. Data engineering connects branding to reliable selection: the campaign must reach the intended people under the stated conditions and support a promise the service team understands. Define the target population, record grain, identity and selection time before building a list. An impressive audience total can conceal wrong matches or unsupported eligibility and create avoidable customer confusion.
Records, joins and deliberate exclusions
Keep customers, service contracts and communication preferences as distinct entities with meaningful keys and definitions. An identifier constraint can support a relationship, but it cannot prove a match describes the right person or that a preference is current. Record the basis for eligibility and the reason an entry is excluded or unresolved. Do not turn a missing value into assumed permission or assumed qualification. The PostgreSQL constraint reading supports structural controls; the campaign rule and customer context still require business review. Preserve the selection version and source period so support can explain why a person was contacted, omitted or offered a term.
A worked audience reconciliation
The synthetic assembled file has 1,000 rows, including 100 repeated copies under a stipulated customer identity rule. Removing those copies leaves 900 distinct records. Of these, 50 have unresolved eligibility and 150 are recorded as outside the stated campaign selection. Under these mutually exclusive exercise categories, 700 records remain in the planned eligible audience. That is 70% of the original row count and approximately 77.78% of the distinct records. These figures do not establish lawful contact permission or real eligibility. They show why different processing stages need reconciliation. Review identity and category assumptions before relying on the result, and do not silently discard unresolved cases from the evidence report.
Departmental accountability and quality gates
Marketing defines the intended audience and message. Operations confirms which service commitments qualify and can be delivered. Customer support reviews likely questions and correction paths. Data engineers implement selection and publish counts entering, leaving and failing each stage. An appropriate owner reviews preference handling and other applicable requirements before the campaign proceeds. Keep approval separate from mere file generation. A completed export does not mean the audience has been accepted for use. Give managers the unresolved-record count and its possible effect so they can narrow the campaign or request further investigation rather than pretend the pipeline produced perfect customer knowledge.
Corrections and source changes
Suppose a source correction shows that a service record belonged to a different household. Identify the dependent selection and message rather than fixing only the source row. Preserve enough lineage to find affected records without unnecessarily exposing other customer information. If a preference changes after selection, the sending step needs a reviewed treatment of that change; an old list should not silently become authoritative forever. Test replay and joins using synthetic records, including a duplicate identity and a missing relationship. Review the campaign’s actual acceptance and correction outcomes before generalising about data quality. This portfolio is a bounded reconciliation design, not a complete privacy or marketing-compliance audit.
Enquiry and learning levels
Who approves the selection? Whom does unresolved eligibility affect? Whose identity connects the records? What does each row represent? Where are exclusions explained? When was the preference evidence observed? Why is the raw row count different from the audience? Which categories are mutually exclusive? How will a source correction reach the sending process? Foundation learners explain distinct records. Undergraduate learners calculate reconciliation stages and draw entities. Postgraduate learners compare selection and update policies. Research learners study whether visible reconciliation reduces mistaken offers, considering reporting and campaign differences. Submit a lineage diagram, synthetic reconciliation table and an evidence-quality note with assumptions and unresolved categories.
Study questions and answers
Calculate the planned audience under the stated categories.
1,000 − 100 = 900 distinct records; 900 − 50 − 150 = 700 planned eligible records. This is 70% of raw rows and about 77.78% of distinct records.
Marking guide: Credit 900 distinct and 700 planned eligible records, 70% of raw rows and approximately 77.78% of distinct records. Keep stipulated categories and denominators explicit.
Does the count establish permission to contact?
No. It applies stipulated selection categories. Appropriate current rules, preference handling and actual customer context require separate review.
Marking guide: Credit category arithmetic versus actual permission to contact. Require relevant preference/context and applicable-rule review; the fixture does not itself authorise outreach.
Why trace a source correction beyond the original table?
Dependent selections and messages may remain wrong. Lineage supports finding and correcting downstream consequences.
Marking guide: Credit downstream selections/messages remaining affected after source correction. Require lineage-based identification and correction of those consequences.
Practice task
Build a synthetic audience reconciliation, entity/lineage map, unresolved-record policy and a downstream correction trace.
Sources and further reading
- PostgreSQL documentation — Constraints
Scope: Selected structural-constraint guidance checked. Structure does not prove real-world identity, campaign permission or factual correctness.
Access: Public selected reading available without an account in this check. Certificates, webinar playback, hosted execution and service entitlements were not checked.