-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Data] Can't return array-like data from UDF if batch contains unsupported type #45235
Comments
this is not a bug, f() dict return will cover to pandas Dataframe, Dataframe inited by dict need value is 1 dimensional
maybe you can return a total Dataframe |
@982945902 Ray Data has a custom extension type for multi-dimensional array data. We should automatically use the extension type, but we're not in this code path |
Hi @bveeramani , thanks for the fix. |
What happened + What you expected to happen
I returned array data from my UDF, but I got an error saying that arrays must be 1-dimensional:
Versions / Dependencies
6a266db
Reproduction script
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: