refactor: Dedup tables only at the top level in FlattenTables#1107
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1107 +/- ##
==========================================
- Coverage 48.33% 47.03% -1.30%
==========================================
Files 87 85 -2
Lines 8158 7783 -375
==========================================
- Hits 3943 3661 -282
+ Misses 3858 3787 -71
+ Partials 357 335 -22
☔ View full report in Codecov by Sentry. |
|
If memory serves, deduping was added as a safety measure to make the FlattenTables call idempotent. Back then the It seems to not be necessary anymore, because the |
Summary
Noticed this while working on #1106.
Don't think we need to dedup at each level of the recursion. Also not sure why we're deduping as table names should be unique
Use the following steps to ensure your PR is ready to be reviewed
go fmtto format your code 🖊golangci-lint run🚨 (install golangci-lint here)