data-dwh-dbt-project/models
Oriol Roqué Paniagua 68f490f9fa Merged PR 2593: Modifying int_core__user_host to take into account KYG users
# Description

Adds the possibility of considering as Hosts those users that come from Know Your Guest (KYG), after the discussion with Ben R yesterday. This uses the Claim table, specifically on any Kyg claim type:
- KygRegistrationSignUpType
- KygRegistrationIntegrationTypeName
- KygMvp

From what I see compiling the new vs. the previous version of this model and running into production to have up-to-date data, this increases the number of hosts in 8, from 2.608 to 2.616 so it's not a massive change in volumes.

I also modified the schema for this model to reflect the new logic.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #19513
2024-08-20 11:27:43 +00:00
..
intermediate Merged PR 2593: Modifying int_core__user_host to take into account KYG users 2024-08-20 11:27:43 +00:00
reporting Fixed models for mtd_aggregated_metrics 2024-08-08 17:06:11 +02:00
staging Merged PR 2564: New model for verification_to_address_validation 2024-08-16 09:21:31 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00