Bill Neubauer created BEAM-3982:
-----------------------------------

             Summary: Transform libraries not registering their types
                 Key: BEAM-3982
                 URL: https://issues.apache.org/jira/browse/BEAM-3982
             Project: Beam
          Issue Type: Bug
          Components: sdk-go
            Reporter: Bill Neubauer
            Assignee: Henning Rohde


The transform libraries in the SDK have structs-as-DoFns, but the types are not 
registered. While this works in a direct runner, trying to run examples using 
those libraries fails because the DoFns aren't serializable.

It's not clear how to make the libraries intrinsically self-policing. At least 
to ensure the examples work, these failures can be exposed easily using the 
flags "--runner=dataflow --dry_run" to force the serialization error.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to