Merged PR 4489: Update athena models to remove id_accommodation

# Description

Removed `id_accommodation` from athena models
I remembered why I had add it before, it was to unite it with the edeposit model with the same number of fields but I fixed it already

# 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.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

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

Update athena models to remove id_accommodation

Related work items: #27938
This commit is contained in:
Joaquin Ossa 2025-02-25 08:32:45 +00:00
commit 78d42462a8
5 changed files with 1 additions and 11 deletions

View file

@ -7,7 +7,6 @@ select
id_verification,
id_booking,
id_user_partner,
id_accommodation,
version,
case when version = 'V1' then 'Guesty' else null end as verification_source,
verification_status,

View file

@ -30,10 +30,6 @@ models:
data_tests:
- not_null
- name: id_accommodation
data_type: text
description: "unique Superhog generated id for a listing"
- name: version
data_type: text
description: "value to identify if it is Guesty (V1) or E-deposit (V2)"

View file

@ -7,7 +7,7 @@ select
av.id_verification,
av.id_booking,
av.id_user_partner,
av.id_accommodation,
null as id_accommodation,
av.version,
av.verification_source,
av.verification_status,