Kenneth Knowles created BEAM-1198:
-------------------------------------

             Summary: ViewFn: explicitly decouple runner materialization of 
side inputs from SDK-specific mapping
                 Key: BEAM-1198
                 URL: https://issues.apache.org/jira/browse/BEAM-1198
             Project: Beam
          Issue Type: New Feature
          Components: beam-model-fn-api, beam-model-runner-api
            Reporter: Kenneth Knowles


For side inputs, the field {{PCollectionView.fromIterableInternal}} implies an 
"iterable" materialization of the contents of a PCollection, which is adapted 
to the desired user-facing type within a UDF (today the PCollectionView "is" 
the UDF)

In practice, runners get adequate performance by special casing just a couple 
of types of PCollectionView in a rather cumbersome manner.

The design to improve this is https://s.apache.org/beam-side-inputs-1-pager and 
this makes the de facto standard approach the actual model.



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

Reply via email to