Thanks Sam, Though luck for me, I need to use the protocols.
I'll let you know if I'm taking the plunge to integrate it into your branch. On Mon, Oct 26, 2015 at 4:59 PM, Sam Groth <sgr...@yahoo-inc.com> wrote: > At this point, it only supports schemas. I don't know enough about the > protocol interface in python to know how hard it would be to add. > > Python 3 support is also missing. > > > Sam > > > > On Monday, October 26, 2015 3:33 PM, David Lauzon <davidonlap...@gmail.com> > wrote: > > > Thanks Sam, > > The PR is up-to-date with the main branch, great! > > Does it support Avro protocols as well, or only schemas? > > -David > > On Mon, Oct 26, 2015 at 4:22 PM, Sam Groth <sgr...@yahoo-inc.com> wrote: > > Hi David, > > I do not believe there is currently a way to read the Java IDL in python. > A while back I wrote a python IDL, but never got around to sending it out. > See https://github.com/apache/avro/pull/53 > > > Sam > > > > On Monday, October 26, 2015 2:30 PM, David Lauzon <davidonlap...@gmail.com> > wrote: > > > Hi all, > > Is there a way to use an Avro IDL file from Python? > > For example: > > Assuming this very simple Avro IDL (datatypes.avdl): > > @namespace("avro.examples.datatypes") > protocol MyProtocol { > record MyAvroRecord { > /** > A mandatory string. > */ > string str;}} > > How can I write "hello world" into an Avro data file using the above > schema in Python ? > > > http://stackoverflow.com/questions/33353252/how-to-write-avro-data-file-using-python-and-avro-idl > > > > > >