[ https://issues.apache.org/jira/browse/AVRO-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931769#comment-13931769 ]
Douglas Creager commented on AVRO-1478: --------------------------------------- I don't have any experience with ProtobufData, but the [Avro spec|http://avro.apache.org/docs/current/spec.html#Names] doesn't allow `$` in a name or any of the portions of a namespace. Is it possible / easy to make ProtobufData replace the `$` with a `.` or `_`, so that it produces a valid Avro name? > protobuf namespaces causing problem for avro c++ reader > ------------------------------------------------------- > > Key: AVRO-1478 > URL: https://issues.apache.org/jira/browse/AVRO-1478 > Project: Avro > Issue Type: Bug > Reporter: George Baxter > > Utilizing the ProtobufData functionality to generate avro output, we run into > a complication when consuming this output using the c++ based avro reader. > Seems it doesn't much like the '$' of a nesting outer class that is inherent > with protocol buffers in java. > Exception opening file for read:Invalid namespace: > com.xxx.base.message.MessageProtos$ > in > avro::DataFileReader<avro::GenericDatum>* file_reader; > file_reader = new > avro::DataFileReader<avro::GenericDatum>(file_name.c_str());] -- This message was sent by Atlassian JIRA (v6.2#6252)