Skip to content

Commit 3fc9b64

Browse files
zblzcpcloud
authored andcommitted
fix(polars): support asof_join with no predicates
1 parent 8a05169 commit 3fc9b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/backends/polars/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def asof_join(op, **kw):
347347
raise NotImplementedError(f"Operator {operator} not supported for asof join")
348348

349349
assert len(on) == 1
350-
joined = left.join_asof(right, on=on[0], by=by, strategy=direction)
350+
joined = left.join_asof(right, on=on[0], by=by if by else None, strategy=direction)
351351
joined = joined.drop(*on, *by)
352352
return joined
353353

0 commit comments

Comments
 (0)