avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lauzon <davidonlap...@gmail.com>
Subject Re: Using Avro IDL from python
Date Mon, 26 Oct 2015 20:33:20 GMT
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 <sgroth@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 <davidonlaptop@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
>
>
>

Mime
View raw message