Skip to content

Updating person and test_event metabase views#9258

Merged
kevinfiol merged 1 commit into
mainfrom
david/no-phi-view-update
Nov 4, 2025
Merged

Updating person and test_event metabase views#9258
kevinfiol merged 1 commit into
mainfrom
david/no-phi-view-update

Conversation

@DavidMcClatchey
Copy link
Copy Markdown
Collaborator

BACKEND PULL REQUEST

  • Adds pii_deleted columns to metabase views of person and test_event tables

Testing

  • Run locally and see the views updated

@DavidMcClatchey DavidMcClatchey requested a review from a team as a code owner November 4, 2025 21:05
@DavidMcClatchey DavidMcClatchey requested review from DanielSass, kevinfiol, mpbrown and schreiaj and removed request for a team November 4, 2025 21:05
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Nov 4, 2025

Copy link
Copy Markdown
Collaborator

@mpbrown mpbrown left a comment

Choose a reason for hiding this comment

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

LGTM checking the views locally, left one question about replacing views

- createView:
viewName: person_no_phi_view
remarks: A subset of the person table with columns containing PHI removed.
replaceIfExists: true
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Does this option mean we don't necessarily need to use the dropView changes above?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yea I was wondering that as well - that's what we've done in the past, and I figured it shouldn't hurt anything to be doubly sure that the view gets dropped

Comment thread backend/src/main/resources/db/changelog/db.changelog-master.yaml
@kevinfiol kevinfiol added this pull request to the merge queue Nov 4, 2025
Merged via the queue into main with commit 69ca5de Nov 4, 2025
35 checks passed
@kevinfiol kevinfiol deleted the david/no-phi-view-update branch November 4, 2025 22:37
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.

4 participants