Expr.shrink_dtype()
breaks broadcasting
#18755
Labels
accepted
Ready for implementation
bug
Something isn't working
P-medium
Priority: medium
python
Related to Python Polars
regression
Issue introduced by a new release
Checks
Reproducible example
Log output
Issue description
Broadcasting a literal doesn't work after calling
shrink_dtype()
.The error message is helpful and explains the problem, but I find it nonintuitive -
shrink_dtype()
should just shrink the type, nothing more :)Expected behavior
I expected the shrunk literal to be broadcasted.
Installed versions
The text was updated successfully, but these errors were encountered: