avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saptarshi Guha <sg...@mozilla.com>
Subject C/C++ parsing vs. Java parsing.
Date Mon, 25 Jun 2012 06:17:12 GMT
I have a avro scheme found here: http://sguha.pastebin.mozilla.org/1677671

I tried

java -jar avro-tools-1.7.0.jar  compile schema ~/tmp/robject.avro foo

and it worked.

This failed:

avrogencpp --input ~/tmp/robject.avro --output ~/tmp/h2
Segmentation fault: 11

This failed:

 avro_schema_t *person_schema = (avro_schema_t*)malloc(sizeof(avro_schema_t));
(avro_schema_from_json_literal(string.of.avro.file), person_schema)


Error was Error parsing JSON: string or '}' expected near end of file

Q1: Does C and C++ API support all schemas the Java one supports?
Q2: Is it yes to Q1 and this is a bug?


View raw message