File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5555 When asset_no like '%Bikehangar_1435%' Then 'Bikehangar_H1435'
5656 ELSE replace(asset_no, ' ','_')
5757 END as HangarID
58- from "parking-raw-zone".parking_ops_cycle_hangar_list
58+ from "parking-raw-zone".parking_parking_ops_cycle_hangar_list
5959 WHERE import_Date = format_datetime(current_date, 'yyyyMMdd')
6060 AND asset_type = 'Hangar' AND lower(status) IN ('active', 'estate locked gate issue')
6161 /** 20-08-2024 add check for blank records **/
8181unsubscribed_emails as (
8282 SELECT *,
8383 ROW_NUMBER() OVER ( PARTITION BY email_address ORDER BY email_address DESC) row1
84- FROM "parking-raw-zone".parking_cycle_hangar_unsubscribed_emails
84+ FROM "parking-raw-zone".parking_parking_cycle_hangar_unsubscribed_emails
8585 WHERE import_date = (select max(import_date)
8686 from "parking-raw-zone".parking_cycle_hangar_unsubscribed_emails)),
8787
You can’t perform that action at this time.
0 commit comments