Change June/July timestamp conversion

This commit is contained in:
Anna Saiapina 2024-10-10 08:38:22 +00:00 committed by GCP Dataform
parent a235e0dc2b
commit 69b4c2b851

View File

@ -68,7 +68,7 @@ select DAY_OF_WEEK,
) as TIME_TO_ABANDON_FORMATTED,
case
when (timestamp >= timestamp('2023-01-01 00:00:00') and timestamp < timestamp('2023-03-12 02:00:00')) or
(timestamp >= timestamp('2023-03-26 02:00:00') and timestamp < timestamp('2023-07-01 00:00:00')) or
(timestamp >= timestamp('2023-03-26 02:00:00') and timestamp < timestamp('2023-06-30 16:00:00')) or
(timestamp >= timestamp('2023-08-01 00:00:00') and timestamp < timestamp('2023-10-29 03:00:00')) or
(timestamp >= timestamp('2023-11-05 02:00:00') and timestamp < timestamp('2024-01-01 00:00:00'))
then TIMESTAMP_ADD(timestamp, interval 8 HOUR)