-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6007 and 6017 #1319
6007 and 6017 #1319
Conversation
common/src/main/resources/db/changelog/v2024/misc_opt_out_attribution.sql
Show resolved
Hide resolved
@@ -167,3 +167,5 @@ databaseChangeLog: | |||
# file: db/changelog/v2023/create_pg_cron_extension.sql | |||
- include: | |||
file: db/changelog/v2024/create_current_mbi_procedure.sql | |||
- include: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I don't see deleting existing procedures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop procs are there as part of misc sql file itself at the end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop procs are there as part of misc sql file itself at the end
ah! missed it. wonderful!
FROM job_view | ||
WHERE contract_number not LIKE 'Z%' | ||
) and effective_date> CURRENT_DATE - 1 | ||
on conflict do nothing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add ;
in the end
and then
end; $$
🎫 Ticket
https://jira.cms.gov/browse/AB2D-6007
https://jira.cms.gov/browse/AB2D-6017
🛠 Changes
Changed default values from boolean to Null
Updated opt_out_flag to look for everything else than "False" i.e. true or null
Updated 2024 proc to remove sandbox partition
Removed 2023 proc
Added new columns to current_mbi table
Created a new simple view to have mbi as a column and retriving partitions from 2020-23 data from there
ℹ️ Context for reviewers
(Background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers.)
✅ Acceptance Validation
(How were the changes verified? Did you fully test the acceptance criteria in the ticket? Provide reproducible testing instructions and screenshots if applicable.)
🔒 Security Implications
If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval.