-
Notifications
You must be signed in to change notification settings - Fork 411
Incorrect column name ordering for Multi-Table Synthesizer #2295
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2295 +/- ##
=======================================
Coverage 98.64% 98.64%
=======================================
Files 58 58
Lines 6043 6050 +7
=======================================
+ Hits 5961 5968 +7
Misses 82 82
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
sdv/multi_table/base.py
Outdated
| if not hasattr(self, '_original_metadata'): | ||
| self._original_metadata = self.metadata |
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.
Instead of setting this attribute here, maybe we should just use self.get_metadata
tests/unit/multi_table/test_hma.py
Outdated
|
|
||
| assert num_table_cols == estimated_num_columns[table_name] | ||
|
|
||
| def test_column_order(self): |
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.
I think this should be an integration test, not a unit test
CU-86b2t3nd6
Resolve #2280
I tested that everything works on SDV-Enterprise, backward compatibility, and CAGs