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 
<[email protected]> 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 <[email protected]> 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 
<[email protected]> 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

   



  

Reply via email to