updated comments

This commit is contained in:
Joaquin 2025-06-10 14:22:40 +02:00
parent a543fa1d83
commit 1bd2fd9585

View file

@ -18,8 +18,8 @@ with
row_number() over (
partition by id_accommodation, start_date_utc
order by
start_date_utc desc, -- Prefers the latest effective start date
start_at_utc desc, -- In case of ties, prefers the most recent original start
start_date_utc desc, -- Prefers the latest starting date
start_at_utc desc, -- In case of ties, prefers the most recent starting time
coalesce(end_at_utc, {{ var("end_of_time") }}) desc
) as rn
from {{ ref("int_core__accommodation_to_product_bundle") }}