Skip to content

[Feature Request]: Improve return/yield documentation #34906

Open
@damccorm

Description

@damccorm

What would you like to happen?

We partially doc this here - https://beam.apache.org/documentation/programming-guide/#:~:text=Inside%20your,incorrect%20behavior. - but we should:

  1. Add examples of return/yield used differently (e.g. what happens if you return a list vs a single element vs yielding each)
  2. Change some of the examples in the beam repo to use yield instead of return

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions