Merged PR 3825: Removing Booking fields soon to be dropped
# Description Following a communication from Gus, the following fields in Booking table are going to be removed: * StagingHostBookingId * AdditionalGuests This PR aims to remove DWH dependencies. # 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 - [X] Check if a full-refresh is required after this PR is merged. **Yes, Booking table in staging is incremental** Related work items: #25405
This commit is contained in:
parent
af7a194840
commit
c0e6ec2de8
3 changed files with 0 additions and 12 deletions
|
|
@ -25,7 +25,6 @@ select
|
|||
b.id_booking_source,
|
||||
b.id_verification_request,
|
||||
vrbs.verification_request_booking_source,
|
||||
b.id_staging_host_booking,
|
||||
coalesce(db.is_duplicate_booking, false) as is_duplicate_booking,
|
||||
db.is_duplicating_booking_with_id,
|
||||
bs.booking_state,
|
||||
|
|
@ -43,7 +42,6 @@ select
|
|||
b.guest_last_name,
|
||||
b.guest_first_name,
|
||||
b.guest_telephone,
|
||||
b.additional_guests,
|
||||
b.unsubscribe_verification_reminder,
|
||||
b.created_at_utc,
|
||||
b.created_date_utc,
|
||||
|
|
|
|||
|
|
@ -1367,10 +1367,6 @@ models:
|
|||
- "OSL"
|
||||
- "API/MANUAL"
|
||||
|
||||
- name: id_staging_host_booking
|
||||
data_type: bigint
|
||||
description: ""
|
||||
|
||||
- name: is_duplicate_booking
|
||||
data_type: boolean
|
||||
description: A flag that identifies whether the booking is a duplicate.
|
||||
|
|
@ -1450,10 +1446,6 @@ models:
|
|||
data_type: character varying
|
||||
description: ""
|
||||
|
||||
- name: additional_guests
|
||||
data_type: character varying
|
||||
description: ""
|
||||
|
||||
- name: unsubscribe_verification_reminder
|
||||
data_type: boolean
|
||||
description: ""
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ with
|
|||
{{ adapter.quote("BookingSourceId") }} as id_booking_source,
|
||||
{{ adapter.quote("VerificationRequestId") }} as id_verification_request,
|
||||
{{ adapter.quote("BookingStateId") }} as id_booking_state,
|
||||
{{ adapter.quote("StagingHostBookingId") }} as id_staging_host_booking,
|
||||
{{ adapter.quote("CheckIn") }} as check_in_at_utc,
|
||||
cast({{ adapter.quote("CheckIn") }} as date) as check_in_date_utc,
|
||||
{{ adapter.quote("CheckOut") }} as check_out_at_utc,
|
||||
|
|
@ -33,7 +32,6 @@ with
|
|||
{{ adapter.quote("GuestLastName") }} as guest_last_name,
|
||||
{{ adapter.quote("GuestFirstName") }} as guest_first_name,
|
||||
{{ adapter.quote("GuestTelephone") }} as guest_telephone,
|
||||
{{ adapter.quote("AdditionalGuests") }} as additional_guests,
|
||||
{{ adapter.quote("UnsubscribeVerificationReminder") }}
|
||||
as unsubscribe_verification_reminder,
|
||||
{{ adapter.quote("CreatedDate") }} as created_at_utc,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue