Makes the blog-generated product run on the digital-core domain built from
semprini-data-domain, with the same changes the canonical template received:
- flink/job.sql connects to ods:5432/ods as postgres with ${ODS_PASSWORD},
substituted by data-domain at submission, instead of the blog's credentials
- lakehouse/010_replication.sql uses the platform's `ods` sync group and grants
the lake tables to ducklake_reader and ducklake_writer
- product.yaml sync group, odps.yaml access URLs (domain ports 20000-20003,
management zone Apicurio on 8081), CLI names in comments
Adds tests/: the canonical template's generic unit tests and this product's
expectations.yaml (seed rows, 24 constraint rejections, 5 relationship
traversals, one inbound-to-tombstone round trip).
Verified on digital-core on 2026-09-18: 65 of 65 smoke checks, 100 unit tests
passing, and registered in OpenMetadata under the digital-core domain.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
13 lines
1.0 KiB
SQL
13 lines
1.0 KiB
SQL
-- Canonical Party: analytic SQL smoke test, run by `data-domain test`
|
|
-- through Trino's `lake` catalog. One statement per table and each must succeed.
|
|
|
|
SELECT 'party' AS table_name, count(*) AS row_count FROM lake.canonical_party.party;
|
|
SELECT 'address' AS table_name, count(*) AS row_count FROM lake.canonical_party.address;
|
|
SELECT 'person' AS table_name, count(*) AS row_count FROM lake.canonical_party.person;
|
|
SELECT 'company' AS table_name, count(*) AS row_count FROM lake.canonical_party.company;
|
|
SELECT 'party_role' AS table_name, count(*) AS row_count FROM lake.canonical_party.party_role;
|
|
SELECT 'customer' AS table_name, count(*) AS row_count FROM lake.canonical_party.customer;
|
|
SELECT 'contact_address' AS table_name, count(*) AS row_count FROM lake.canonical_party.contact_address;
|
|
SELECT 'party_role_contact_address' AS table_name, count(*) AS row_count FROM lake.canonical_party.party_role_contact_address;
|
|
SELECT 'party_association' AS table_name, count(*) AS row_count FROM lake.canonical_party.party_association;
|