Skip to content
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

Merged
merged 7 commits into from
Mar 26, 2024
Merged

6007 and 6017 #1319

merged 7 commits into from
Mar 26, 2024

Conversation

Sadibhatla
Copy link
Contributor

🎫 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

  • This PR adds a new software dependency or dependencies.
  • This PR modifies or invalidates one or more of our security controls.
  • This PR stores or transmits data that was not stored or transmitted before.
  • This PR requires additional review of its security implications for other reasons.

If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval.

Sorry, something went wrong.

@Sadibhatla Sadibhatla requested a review from a team as a code owner March 12, 2024 22:02
@@ -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:
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor Author

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

Copy link
Contributor

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
Copy link
Contributor

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; $$

@Rwolfe-Nava Rwolfe-Nava merged commit 056a9c5 into master Mar 26, 2024
2 of 3 checks passed
@Rwolfe-Nava Rwolfe-Nava deleted the AB2D-6007-6017 branch March 26, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants