Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1225

Add a ToString transform in Java SDK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 0.5.0
    • sdk-java-core

    Description

      It is a common pattern in BEAM pipelines to convert a PCollection<T> to PCollection<String>. It involves the pipeline author having to write a SimpleFunction or DoFn that just calls the 'toString' method on each element and then use it through MapElements or a ParDo. Having a ToString transform would help avoid writing this boilerplate code.

      Attachments

        Activity

          People

            vikasrk Vikas Kedigehalli
            vikasrk Vikas Kedigehalli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: