Skip to content
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

Fall back when casting a timestamp to numeric in cudf-polars #16232

Prev Previous commit
Next Next commit
Update python/cudf_polars/cudf_polars/dsl/expr.py
Co-authored-by: Lawrence Mitchell <wence@gmx.li>
  • Loading branch information
brandon-b-miller and wence- authored Jul 22, 2024
commit a140cd07e1ff55b5ff54d5797e4399db31cea8fa
7 changes: 0 additions & 7 deletions python/cudf_polars/cudf_polars/dsl/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,13 +1164,6 @@ def __init__(self, dtype: plc.DataType, value: Expr) -> None:
raise NotImplementedError(
f"Can't cast {self.dtype.id().name} to {value.dtype.id().name}"
)
if (
self.dtype.id() == plc.TypeId.STRING
or value.dtype.id() == plc.TypeId.STRING
):
raise NotImplementedError(
"Need to implement cast to/from string separately."
)

def do_evaluate(
self,
Expand Down
Loading