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

This commit is contained in:
ddadmin committed 2025-11-08 19:21:43 +03:00
1 parent be1557716f
commit c52d0d8b31
3 files changed
+16 -19

No files matched your search

+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+$'
),