Skip to content

Stop metadata's remove_column from removing unexpected relationships#2814

Merged
fealho merged 2 commits intomainfrom
issue-2813-remove-col
Feb 20, 2026
Merged

Stop metadata's remove_column from removing unexpected relationships#2814
fealho merged 2 commits intomainfrom
issue-2813-remove-col

Conversation

@fealho
Copy link
Member

@fealho fealho commented Feb 18, 2026

CU-86b8jf8ft, Resolve #2813

@fealho fealho requested a review from a team as a code owner February 18, 2026 23:40
@fealho fealho requested review from frances-h and removed request for a team February 18, 2026 23:40
@sdv-team
Copy link
Contributor

@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.12%. Comparing base (9d61cb6) to head (fe7c5aa).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2814   +/-   ##
=======================================
  Coverage   98.12%   98.12%           
=======================================
  Files          73       73           
  Lines        8148     8155    +7     
=======================================
+ Hits         7995     8002    +7     
  Misses        153      153           
Flag Coverage Δ
integration 75.45% <100.00%> (+0.02%) ⬆️
unit 97.13% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fealho fealho requested a review from R-Palazzo February 19, 2026 14:31
Copy link
Contributor

@frances-h frances-h left a comment

Choose a reason for hiding this comment

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

Looks good! Just one naming suggestion for clarity


self.relationships = updated_relationships

def _remove_column_relationships(self, table_name, column_name):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we rename this to _remove_relationships_by_column or something? The current name is a little confusing since a column_relationship is a distinct concept.

Maybe we should also rename _remove_matching_relationships to _remove_relationships_by_table so that the intended use of each helper is clearer.

@fealho fealho merged commit fb69b73 into main Feb 20, 2026
47 checks passed
@fealho fealho deleted the issue-2813-remove-col branch February 20, 2026 20:55
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.

Metadata remove_column removes unexpected relationships

4 participants