New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for introspecting avro-wrapped protobufs #265
Comments
scala> TrackPB.getDescriptor.toProto
res1: com.google.protobuf.DescriptorProtos.DescriptorProto =
name: "TrackPB"
field {
name: "trackId"
number: 1
label: LABEL_REQUIRED
type: TYPE_STRING
} |
Cool idea! That said - then the user would have to know that even those she is saving data as protobufs, to find schema she needs to use |
I mean we can make a |
https://github.com/nevillelyh/protobuf-generic This lib can do the following:
I'll look into Scio side of things. |
BEAM |
This will be supported in 0.2.6, due for release tomorrow. Closing this now. |
Avro
DataFileWriter
has a.setMeta(String, String)
method and we wrap ProtoBuf bytes in Avro files. Maybe set schema there to make ad-hoc file operations easier, e.g. cat, getschema?The text was updated successfully, but these errors were encountered: