-
Notifications
You must be signed in to change notification settings - Fork 590
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
BUG: [OmniSciDB] Fix TopK when used as filter #2134
BUG: [OmniSciDB] Fix TopK when used as filter #2134
Conversation
| @@ -180,6 +180,7 @@ class OmniSciDBTableSetFormatter(compiles.TableSetFormatter): | |||
| _join_names = { | |||
| ops.InnerJoin: 'JOIN', | |||
| ops.LeftJoin: 'LEFT JOIN', | |||
| ops.LeftSemiJoin: 'JOIN', # needed by topk as filter | |||
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.
not sure if it is the best approach ... but at least it is working now.
maybe #512 would be a better approach to fix this issue
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.
that's a really old issue, has things changed in the interim?
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.
it seems it was not changed. but maybe we need to check this better.
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.
looks fine. can you add a release note and a question.
ibis/file/parquet.py
Outdated
| def table(self, name, path): | ||
| def table( | ||
| self, name: str, path: Optional[str] = None | ||
| ) -> ibis.expr.types.TableExpr: |
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.
use the standard ibis import
import ibis.expr.types as ir (at the top)
af3586b
to
63937d4
Compare
|
release note added and ci green. |
|
lgtm. tip on release notes; don't put them at the top, rather insert between others so to avoid conflicts. |
cbfad05
to
2cd2274
Compare
|
thanks @xmnlab |
|
thanks @jreback for the review! |
Resolve #1918 . Additionally fix #2129