[ https://issues.apache.org/jira/browse/AVRO-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666416#comment-13666416 ]
Hudson commented on AVRO-1324: ------------------------------ Integrated in AvroJava #376 (See [https://builds.apache.org/job/AvroJava/376/]) AVRO-1324. C: Handle namespaces when parsing schemas The schema parser can now handle fully-qualified schema references, and it understands inherited namespaces. Contributed by Ben Walsh. (Revision 1486053) Result = SUCCESS dcreager : Files : * /avro/trunk/CHANGES.txt * /avro/trunk/lang/c/src/allocation.c * /avro/trunk/lang/c/src/avro/allocation.h * /avro/trunk/lang/c/src/avro_private.h * /avro/trunk/lang/c/src/schema.c * /avro/trunk/lang/c/src/schema_equal.c * /avro/trunk/lang/c/tests/schema_tests/pass/namespace_recursive * /avro/trunk/lang/c/tests/schema_tests/pass/namespace_simple * /avro/trunk/lang/c/tests/test_avro_schema.c > Avro-C: namespace lookup and inherited namespaces > ------------------------------------------------- > > Key: AVRO-1324 > URL: https://issues.apache.org/jira/browse/AVRO-1324 > Project: Avro > Issue Type: Improvement > Components: c > Affects Versions: 1.7.4, 1.7.5, 1.8.0 > Reporter: Ben Walsh > Attachments: AVRO-1324.patch > > > It seems that the C version of Avro doesn't resolve fully-qualified type > names, and it doesn't > understand inherited namespaces. > For example this doesn't work: > {"type": "record", "namespace": "x", "name": "Y", "fields": [ > {"name": "e", "type": {"type": "record", "name": "Z", "fields": [ > {"name": "f", "type": "x.Z"} > ]}} > ]} > It can't find the type "x.Z". > (this is similar to a Ruby problem > https://issues.apache.org/jira/browse/AVRO-635). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira