You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Vikas Kedigehalli (JIRA)" <ji...@apache.org> on 2016/12/28 19:25:58 UTC

[jira] [Created] (BEAM-1225) Add a ToString transform in Java SDK

Vikas Kedigehalli created BEAM-1225:
---------------------------------------

             Summary: Add a ToString transform in Java SDK
                 Key: BEAM-1225
                 URL: https://issues.apache.org/jira/browse/BEAM-1225
             Project: Beam
          Issue Type: Improvement
            Reporter: Vikas Kedigehalli
            Assignee: Vikas Kedigehalli
            Priority: Minor


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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)