Skip to content
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

Repair outputs logic #1313

Merged

Conversation

blythed
Copy link
Collaborator

@blythed blythed commented Nov 16, 2023

  • Featurize and features replaced everywhere with outputs
  • Multiple outputs now supported
  • Disambiguation of fields supported in ibis view .relabel
  • ...

@blythed blythed force-pushed the bug/inconsistency-features-outputs branch 2 times, most recently from fce1755 to f094f53 Compare November 17, 2023 15:00
@codecov-commenter
Copy link

codecov-commenter commented Nov 17, 2023

Codecov Report

Attention: 202 lines in your changes are missing coverage. Please review.

Comparison is base (34830a7) 80.33% compared to head (2281de8) 65.22%.
Report is 75 commits behind head on main.

❗ Current head 2281de8 differs from pull request most recent head 94ff2cd. Consider uploading reports for the commit 94ff2cd to get more accurate results

Files Patch % Lines
superduperdb/components/stack.py 0.00% 65 Missing ⚠️
superduperdb/backends/ibis/query.py 65.58% 53 Missing ⚠️
superduperdb/backends/mongodb/query.py 69.56% 14 Missing ⚠️
superduperdb/cli/serve.py 0.00% 11 Missing ⚠️
superduperdb/base/datalayer.py 73.68% 10 Missing ⚠️
superduperdb/cli/stack.py 0.00% 9 Missing ⚠️
superduperdb/base/build.py 57.14% 6 Missing ⚠️
superduperdb/cdc/cdc.py 62.50% 6 Missing ⚠️
superduperdb/backends/sqlalchemy/metadata.py 73.33% 4 Missing ⚠️
superduperdb/__main__.py 0.00% 3 Missing ⚠️
... and 11 more
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1313       +/-   ##
===========================================
- Coverage   80.33%   65.22%   -15.12%     
===========================================
  Files          95      100        +5     
  Lines        6602     6815      +213     
===========================================
- Hits         5304     4445      -859     
- Misses       1298     2370     +1072     

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

@blythed blythed force-pushed the bug/inconsistency-features-outputs branch 3 times, most recently from bd762d4 to 2281de8 Compare November 17, 2023 16:00
@@ -147,13 +151,29 @@ def get_all_tables(self):
return tables

def _get_all_fields(self, db):
lookup = (
self.renamings
) # dict(zip(self.renamings.values(), self.renamings.keys()))
Copy link
Contributor

Choose a reason for hiding this comment

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

we can remove executable code!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, my bad, a mistake.

Copy link
Contributor

@thejumpman2323 thejumpman2323 left a comment

Choose a reason for hiding this comment

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

inital review

superduperdb/backends/ibis/query.py Outdated Show resolved Hide resolved
@@ -357,6 +402,15 @@ def __getitem__(self, other):
other, members=self.members, collection=self.table_or_collection
)

@classmethod
def _get_query_linker(cls, table_or_collection, members):
out = cls(
Copy link
Contributor

Choose a reason for hiding this comment

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

return cls(...

@blythed blythed force-pushed the bug/inconsistency-features-outputs branch from 2281de8 to 94ff2cd Compare November 17, 2023 18:26
@blythed blythed force-pushed the bug/inconsistency-features-outputs branch from 94ff2cd to ba2391d Compare November 17, 2023 18:30
@blythed blythed merged commit 4b1274e into superduper-io:main Nov 17, 2023
2 checks passed
@blythed blythed deleted the bug/inconsistency-features-outputs branch June 1, 2024 10:07
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.

3 participants