commit wip
This commit is contained in:
parent
f3842c950b
commit
d6dcbcc67e
2 changed files with 8 additions and 8 deletions
|
|
@ -59,28 +59,28 @@ models:
|
|||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: created_at_date
|
||||
- name: created_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: "Timestamp when the incident was created."
|
||||
data_tests:
|
||||
- not_null:
|
||||
where: "document_version <> 'OldClaimToIncidentModel'"
|
||||
|
||||
- name: created_date_date
|
||||
- name: created_date_utc
|
||||
data_type: date
|
||||
description: "Date when the incident was created."
|
||||
data_tests:
|
||||
- not_null:
|
||||
where: "document_version <> 'OldClaimToIncidentModel'"
|
||||
|
||||
- name: updated_at_date
|
||||
- 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_date
|
||||
- name: updated_date_utc
|
||||
data_type: date
|
||||
description: "Date when the incident was last updated."
|
||||
data_tests:
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ select
|
|||
{{ adapter.quote("documents") }} ->> 'StatusHistory' as status_history_logs,
|
||||
{{ adapter.quote("documents") }} ->> 'documentVersion' as document_version,
|
||||
{{ adapter.quote("documents") }} ->> 'TaskExecutionLogs' as task_execution_logs,
|
||||
({{ adapter.quote("documents") }} ->> 'CreatedDate')::timestamp as created_at_date,
|
||||
({{ adapter.quote("documents") }} ->> 'CreatedDate')::date as created_date_date,
|
||||
({{ adapter.quote("documents") }} ->> 'UpdatedDate')::timestamp as updated_at_date,
|
||||
({{ adapter.quote("documents") }} ->> 'UpdatedDate')::date as updated_date_date,
|
||||
({{ adapter.quote("documents") }} ->> 'CreatedDate')::timestamp as created_at_utc,
|
||||
({{ adapter.quote("documents") }} ->> 'CreatedDate')::date as created_date_utc,
|
||||
({{ adapter.quote("documents") }} ->> 'UpdatedDate')::timestamp as updated_at_utc,
|
||||
({{ adapter.quote("documents") }} ->> 'UpdatedDate')::date as updated_date_utc,
|
||||
|
||||
-- Host Details
|
||||
{{ adapter.quote("documents") }} -> 'Host' ->> 'Id' as id_user_host,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue