Open stinodego opened 3 months ago
Ah, can be a trivial clone in that case.
I think there is a similar issue (maybe with same root cause) related to this:
df = pl.DataFrame({"a": [1], "b": [None]})
result = df.sort(["a", "b"])
leads to
pyo3_runtime.PanicException: `into_total_ord_inner` operation not supported for dtype `null`
Furthermore,
df = pl.DataFrame({"a": [1], "b": [None]})
result = df.sort(["a", "b"], nulls_last=True)
leads to
pyo3_runtime.PanicException: not implemented: Null
Checks
Reproducible example
Log output
Issue description
Sorting panics when sorting by a Null column.
There is no issue if the null column is the only column being sorted.
The same happens when sorting a Struct Series, though this gives a proper error (should still just work though):
Expected behavior
Sorting should complete successfully.
Installed versions
main