-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
regression 0.20.17: ComputeError: filter predicate was not of type boolean with predicate_pushdown enabled #15442
Comments
Can reproduce. Just while debugging things, I did notice that it also works with in_x = (pl.lit(left) < center.struct.field("x")) & (center.struct.field("x") <= pl.lit(right))
df.lazy().filter(in_x).collect()
# shape: (1, 2)
# ┌───────┬───────┐
# │ x ┆ y │
# │ --- ┆ --- │
# │ f64 ┆ f64 │
# ╞═══════╪═══════╡
# │ 206.0 ┆ 225.0 │
# └───────┴───────┘ |
bisect:
but this is a rather big MR and im not familiar with the codebase, so that is where my debugging ends |
Update: Not the same reason actually, but both are caused by the introduction of |
Confirmed fixed on main. Thx |
Checks
Reproducible example
Log output
Issue description
Only happens with predicate_pushdown=True and polars==0.20.18
EDIT: also happens on 0.20.17 but works on 0.20.16
Expected behavior
works like in previous versions
Installed versions
The text was updated successfully, but these errors were encountered: