Merged PR 2028: guest journey estimated completed date

This PR includes the logic to handle the completed date of guest journey

Check the schema file to understand the logic implemented. It's an estimation, and in some cases, weird stuff happens on end dates before link usage dates, which effectively breaks the computation. I added a boolean for this

Related work items: #17268
This commit is contained in:
Oriol Roqué Paniagua 2024-06-13 13:30:22 +00:00
parent 6b4490b017
commit 7914d7d8d7
4 changed files with 126 additions and 4 deletions

View file

@ -24,8 +24,8 @@ select
guest_phone_number_2 as guest_phone_number_2,
verification_start_at_utc as verification_start_at_utc,
verification_start_date_utc as verification_start_date_utc,
verification_end_at_utc as verification_end_at_utc,
verification_end_date_utc as verification_end_date_utc,
verification_estimated_completed_at_utc as verification_end_at_utc,
verification_estimated_completed_date_utc as verification_end_date_utc,
link_used_at_utc as link_used_at_utc,
link_used_date_utc as link_used_date_utc,
expire_at_utc as expire_at_utc,