You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But instead I see the following error: ArrowNotImplementedError: Unsupported cast from large_list<item: large_string> to utf8 using function cast_string
After some investigation, I think that the issue comes from the polars translator for the operation ArrayFlatten:
Notice how using pandas I get a single line back with a single "flattened" array, while using polars, I get 2 rows back. Hence I think something is still missing somewhere, unless there is another way to achieve this using ibis or I misunderstand the flatten function. Anyways, I believe the result should be the same by using pandas or polars.
I expect the result to be [1, 5, 7, 3, 4] in both cases.
What happened?
I'm taking the example from the docs for the
flatten
operation. I'm just adding the line to set the backend topolars
I expected to see:
But instead I see the following error:
ArrowNotImplementedError: Unsupported cast from large_list<item: large_string> to utf8 using function cast_string
After some investigation, I think that the issue comes from the polars translator for the operation ArrayFlatten:
Changing the implementation the following seems to solve the issue and produces the expected result
What version of ibis are you using?
9.3.0
What backend(s) are you using, if any?
polars 1.5.0
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: