Final tests update

This commit is contained in:
Joaquin Ossa 2025-02-23 16:39:43 +01:00
parent fb4775bd07
commit 2e19678182
2 changed files with 1 additions and 22 deletions

View file

@ -76,16 +76,10 @@ models:
- name: updated_at_utc
data_type: timestamp without time zone
description: "Timestamp when the incident was last updated."
data_tests:
- not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: updated_date_utc
data_type: date
description: "Date when the incident was last updated."
data_tests:
- not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: id_user_host
data_type: text
@ -105,9 +99,6 @@ models:
- name: host_account_name
data_type: text
description: "Name of the host account."
data_tests:
- not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: host_email
data_type: text
@ -118,16 +109,10 @@ models:
- name: host_last_name
data_type: text
description: "Last name of the host."
data_tests:
- not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: host_first_name
data_type: text
description: "First name of the host."
data_tests:
- not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: host_phone_code
data_type: text
@ -162,16 +147,10 @@ models:
- name: guest_last_name
data_type: text
description: "Last name of the guest."
data_tests:
- not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: guest_first_name
data_type: text
description: "First name of the guest."
data_tests:
- not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: guest_phone_code
data_type: text

View file

@ -11,7 +11,7 @@ select
({{ adapter.quote("documents") }} ->> 'ReadOnlyForCustomers')::boolean
as read_only_for_customers,
{{ adapter.quote("documents") }} ->> 'StatusHistory' as status_history_logs,
{{ adapter.quote("documents") }} ->> 'documentVersion' as document_version,
{{ adapter.quote("documents") }} ->> 'DocumentVersion' as document_version,
{{ adapter.quote("documents") }} ->> 'TaskExecutionLogs' as task_execution_logs,
({{ adapter.quote("documents") }} ->> 'CreatedDate')::timestamp as created_at_utc,
({{ adapter.quote("documents") }} ->> 'CreatedDate')::date as created_date_utc,