[ https://issues.apache.org/jira/browse/BEAM-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349050#comment-15349050 ]
Daniel Halperin commented on BEAM-221: -------------------------------------- One idea was to simply wrap AvroIO in a Composite PTransform: * Avro schema is just a single byte[]. * On read, convert from byte[] to the user's proto. * On write, convert from proto to byte[]. In this way, ProtoIO would just be a simple wrapper for AvroIO.Read+ParDo (read) or ParDo+AvroIO.Write. > ProtoIO > ------- > > Key: BEAM-221 > URL: https://issues.apache.org/jira/browse/BEAM-221 > Project: Beam > Issue Type: Bug > Components: sdk-java-gcp > Reporter: Daniel Halperin > Priority: Minor > > Make it easy to read and write binary files of Protobuf objects. If there is > a standard open source format for this, use it. > If not, roll our own and implement it? -- This message was sent by Atlassian JIRA (v6.3.4#6332)