Skip to content

Commit

Permalink
Add effective date to xref window logic
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-tuva committed Nov 18, 2024
1 parent 63cf52a commit b84bffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/intermediate/int_beneficiary_xref_deduped.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with staged_data as (

select *, row_number() over (
partition by prvs_num
order by file_date desc
order by file_date desc, prvs_id_efctv_dt desc
) as row_num
from staged_data

Expand Down

0 comments on commit b84bffb

Please sign in to comment.