[FEA] Support `pl.Expr.cast(wrap_numerical=False)` properly
Open
cudf-polars
feature request
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
xref https://github.com/pola-rs/polars/issues/26162
As noted in https://github.com/rapidsai/cudf/pull/20784, we currently ignore this option from Polars and will wrap numerical overflows. To properly support this option, we'll need pass this flag down to the casting logic to perform the overflow check for numerical casting
Contributor guide
Assessment
This issue has not been assessed yet.