Стилистические правки

This commit is contained in:
2025-11-08 19:21:43 +03:00
parent be1557716f
commit c52d0d8b31
3 changed files with 16 additions and 19 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ WITH src AS (
s._load_id,
s._load_ts,
COALESCE(NULLIF(s.event_ts, '')::timestamp, s._load_ts,
to_timestamp(regexp_replace(s._load_id,'^batch_',''),'YYYYMMDD_HH24MI')) AS eff_ts
to_timestamp(regexp_replace(s._load_id,'^batch_',''),'YYYYMMDD_HH24MI'))
AS eff_ts
FROM stg.customers_raw s
WHERE s.customer_id ~ '^\d+$'
),