Skip to content

[Data] [Doc] whether map() supports generator UDF #52279

@wingkitlee0

Description

@wingkitlee0

Description

https://docs.ray.io/en/latest/data/api/doc/ray.data.Dataset.map.html#ray.data.Dataset.map

Kind of minor .. but currently the doc claims the UDF can be a generator ( Callable[..., Iterator])

Since map() is supposed to be 1-to-1 (row) ops, is this actually supported? or it's actually ok if the generator yields once?

Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticalcommunity-backlogdataRay Data-related issuesdocsAn issue or change related to documentationgood-first-issueGreat starter issue for someone just starting to contribute to Ray

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions