-
Notifications
You must be signed in to change notification settings - Fork 477
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
Repair outputs logic #1313
Conversation
fce1755
to
f094f53
Compare
Codecov ReportAttention:
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. |
bd762d4
to
2281de8
Compare
superduperdb/backends/ibis/query.py
Outdated
@@ -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())) |
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.
we can remove executable code!
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.
Yes, my bad, a mistake.
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.
inital review
superduperdb/backends/ibis/query.py
Outdated
@@ -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( |
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.
return cls(...
2281de8
to
94ff2cd
Compare
94ff2cd
to
ba2391d
Compare
Featurize
andfeatures
replaced everywhere withoutputs
outputs
now supportedibis
view.relabel