# catalog_product_group_relationships

<!-- Generated from apps/irrigation/dbt_redshift/models/client_data/sources.yml. Do not edit by hand — run `make generate-client-data-dictionary`. -->

Links a derived (child) product group to the group it derives from, one row per link, discarded links included. Served when the child group is in catalog_product_groups. Filter discarded_at IS NULL for the live link; catalog_product_groups.parent_product_group_id already gives it.

| Column | Description |
| --- | --- |
| `id` | Unique identifier for the relationship |
| `parent_product_group_id` | Identifier of the parent product group; matches catalog_product_groups.id when the parent is served |
| `child_product_group_id` | Identifier of the derived (child) product group; matches catalog_product_groups.id |
| `created_at` | Timestamp when the link was created |
| `updated_at` | Timestamp when the link was last updated; discarding it updates this |
| `discarded_at` | Timestamp when the link was discarded, un-deriving the child (NULL = live link) |
| `timestamp` | Timestamp of the latest dlt load for this table |
