Upper cased

This commit is contained in:
Joaquin Ossa 2024-12-04 10:59:13 +01:00
parent d5f0db71fd
commit 588e94ed7c
2 changed files with 7 additions and 7 deletions

View file

@ -53,9 +53,9 @@ models:
- not_null
- accepted_values:
values:
- "Approved"
- "Flagged"
- "Rejected"
- "APPROVED"
- "FLAGGED"
- "REJECTED"
- name: verification_status_reason
data_type: text
@ -75,8 +75,8 @@ models:
tests:
- accepted_values:
values:
- "Match"
- "No Match"
- "MATCH"
- "NO MATCH"
- name: channel
data_type: text

View file

@ -21,12 +21,12 @@ with
) as protection_extended_amount,
({{ adapter.quote("documents") }} ->> 'PetProtection')::boolean
as pet_protection,
{{ adapter.quote("documents") }} ->> 'Status' as verification_status,
upper({{ adapter.quote("documents") }} ->> 'Status') as verification_status,
{{ adapter.quote("documents") }}
->> 'StatusReason' as verification_status_reason,
{{ adapter.quote("documents") }} ->> 'EmailFlag' as email_flag,
{{ adapter.quote("documents") }} ->> 'PhoneFlag' as phone_flag,
{{ adapter.quote("documents") }} ->> 'WatchList' as watch_list,
upper({{ adapter.quote("documents") }} ->> 'WatchList') as watch_list,
{{ adapter.quote("documents") }} ->> 'Channel' as channel,
({{ adapter.quote("documents") }} ->> 'CheckIn')::date as checkin_date_utc,
({{ adapter.quote("documents") }} ->> 'CheckOut')::date