Merged PR 3743: Hotfix for staging core accommodation

# Description

Fixes dbt execution after 2 fields in use were dropped in the backend.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [NA] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [NA] I have checked for DRY opportunities with other models and docs.
- [NA] 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: #25196
This commit is contained in:
Oriol Roqué Paniagua 2024-12-03 11:26:52 +00:00
parent 7ef6fb3031
commit c5b7d919c5

View file

@ -12,8 +12,12 @@ with
{{ adapter.quote("Postcode") }} as postcode,
{{ adapter.quote("AddressLine1") }} as address_line_1,
{{ adapter.quote("AddressLine2") }} as address_line_2,
{{ adapter.quote("VerificationLevel") }} as verification_level,
{{ adapter.quote("NumberOfFloors") }} as number_of_floors,
-- ORP here. I promise I'll fix this properly. This is just to avoid
-- breaking any DWH execution moving forward after the drop of these
-- fields in the backend.
-- We really need some data contracts...............................
null as verification_level,
null as number_of_floors,
{{ adapter.quote("NumberOfBedrooms") }} as number_of_bedrooms,
{{ adapter.quote("NumberOfBathrooms") }} as number_of_bathrooms,
{{ adapter.quote("CreatedDate") }} as created_at_utc,