-
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: .distinct(on="does_not_exist") does not crash #6237
Comments
|
I think the problem is in the def __init__(
self, table, by, having=None, order_by=None, window=None, **expressions
):
self.table = table
self.by = list(
itertools.chain(
itertools.chain.from_iterable(
_get_group_by_key(table, v) for v in util.promote_list(by)
),
(
expr.name(k)
for k, v in expressions.items()
for expr in _get_group_by_key(table, v)
),
)
)
self._order_by = order_by or []
self._having = having or []
self._window = window |
mesejo
added a commit
to mesejo/ibis
that referenced
this issue
May 24, 2023
mesejo
added a commit
to mesejo/ibis
that referenced
this issue
May 24, 2023
mesejo
added a commit
to mesejo/ibis
that referenced
this issue
May 24, 2023
mesejo
added a commit
to mesejo/ibis
that referenced
this issue
May 25, 2023
mesejo
added a commit
to mesejo/ibis
that referenced
this issue
May 25, 2023
mesejo
added a commit
to mesejo/ibis
that referenced
this issue
May 25, 2023
cpcloud
pushed a commit
that referenced
this issue
May 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
I would expect this to error.
What version of ibis are you using?
5.1.0, have not tested on main
What backend(s) are you using, if any?
duckdb, but probably irrelevant?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: