avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: imports and avpr files
Date Fri, 17 Feb 2012 17:54:00 GMT
On 02/16/2012 06:41 PM, Jeremy Lewi wrote:
> I'm not using a parser. I'm just using the avro compiler to generate
> source files which I use in my code (I'm running mapreduce jobs whose
> inputs/outputs are avro files). 

I think this is possible since AVRO-877 (in release 1.5.3).  One can
specify multiple protocols on the compiler command line and types from
prior protocols are available in subsequent protocols.  For example:

java -jar avro-tools.jar compile protocol foo.avpr bar.avpr target/java

Would that work?


View raw message