Merged PR 3682: Remove unused accommodation fields

# Description

Dash squad is going to remove four fields from the `Accommodation` table in SQL Server. We are removing them from the project as well to avoid errors. The removal is painless because we weren't really using them for anything important, they were simply brought as part of the `Accommodation` table.

# 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

- [X] Check if a full-refresh is required after this PR is merged.
This commit is contained in:
Pablo Martín 2024-11-27 14:05:44 +00:00
commit 9dcfbd6fd2
3 changed files with 0 additions and 16 deletions

View file

@ -22,12 +22,9 @@ select
sca.address_line_1,
sca.address_line_2,
sca.verification_level,
sca.floor_area,
sca.number_of_floors,
sca.number_of_bedrooms,
sca.number_of_bathrooms,
sca.number_of_other_rooms,
sca.construction_details,
sca.created_at_utc,
date(sca.created_at_utc) as created_date_utc,
sca.updated_at_utc,

View file

@ -906,9 +906,6 @@ models:
- name: verification_level
data_type: integer
- name: floor_area
data_type: integer
- name: number_of_floors
data_type: integer
@ -918,12 +915,6 @@ models:
- name: number_of_bathrooms
data_type: integer
- name: number_of_other_rooms
data_type: integer
- name: construction_details
data_type: character varying
- name: created_at_utc
data_type: timestamp
description: Timestamp of when the listing was created. Cannot be null.

View file

@ -13,13 +13,9 @@ with
{{ adapter.quote("AddressLine1") }} as address_line_1,
{{ adapter.quote("AddressLine2") }} as address_line_2,
{{ adapter.quote("VerificationLevel") }} as verification_level,
{{ adapter.quote("ManuallyValidated") }} as manually_validated,
{{ adapter.quote("FloorArea") }} as floor_area,
{{ adapter.quote("NumberOfFloors") }} as number_of_floors,
{{ adapter.quote("NumberOfBedrooms") }} as number_of_bedrooms,
{{ adapter.quote("NumberOfBathrooms") }} as number_of_bathrooms,
{{ adapter.quote("NumberOfOtherRooms") }} as number_of_other_rooms,
{{ adapter.quote("DetailsOfConstruction") }} as construction_details,
{{ adapter.quote("CreatedDate") }} as created_at_utc,
{{ adapter.quote("UpdatedDate") }} as updated_at_utc,
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc