Skip to content

Conversation

@R-Palazzo
Copy link
Contributor

@R-Palazzo R-Palazzo commented Nov 14, 2024

CU-86b2t3nd6
Resolve #2280

I tested that everything works on SDV-Enterprise, backward compatibility, and CAGs

@R-Palazzo R-Palazzo self-assigned this Nov 14, 2024
@R-Palazzo R-Palazzo requested a review from a team as a code owner November 14, 2024 14:09
@sdv-team
Copy link
Contributor

@R-Palazzo R-Palazzo removed the request for review from a team November 14, 2024 14:11
@codecov
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.64%. Comparing base (20c1f28) to head (786437f).
Report is 1 commits behind head on main.

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           
Flag Coverage Δ
integration 82.23% <91.66%> (+0.03%) ⬆️
unit 97.47% <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.

Comment on lines 531 to 532
if not hasattr(self, '_original_metadata'):
self._original_metadata = self.metadata
Copy link
Contributor

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


assert num_table_cols == estimated_num_columns[table_name]

def test_column_order(self):
Copy link
Contributor

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

@R-Palazzo R-Palazzo requested a review from frances-h November 14, 2024 22:59
@R-Palazzo R-Palazzo merged commit 39f060e into main Nov 15, 2024
41 checks passed
@R-Palazzo R-Palazzo deleted the issue-2280-column-name-order branch November 15, 2024 13:00
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.

Incorrect column name ordering for Multi-Table Synthesizer

5 participants