Added end_of_time variable

This commit is contained in:
Joaquin Ossa 2025-02-07 15:20:22 +01:00
parent 25a89208c4
commit 25aa153eed
2 changed files with 4 additions and 1 deletions

View file

@ -55,7 +55,7 @@ with
int_core__accommodation_to_product_bundle apb
on apb.id_user_product_bundle = bs.id_user_product_bundle
and now() between apb.original_starts_at_utc and coalesce(
apb.original_ends_at_utc, '2050-12-31'
apb.original_ends_at_utc, {{ var("end_of_time") }}
)
left join int_core__accommodation a on apb.id_accommodation = a.id_accommodation
inner join int_core__new_dash_users ndu on bs.id_user_host = ndu.id_user_host