Hi James,

You can create an issue at https://issues.apache.org/jira/projects/AVRO.

Please try with Avro 1.11.1 before that!

Regards,
Martin

On Fri, Sep 23, 2022 at 2:50 AM James Sarrett <[email protected]>
wrote:

> Hi there,
>
> I was going to submit a ticket on Jira, but I couldn't figure out how.  I'm
> pretty sure I have found a bug in the Python Avro schema parser.  The Avro
> docs (https://avro.apache.org/docs/1.11.1/specification/_print/#names) say
> a name must be just letters numbers and underscores, but the python parser
> accepts (at least) spaces for field names in a record.  Here's an example
> schema with will fail the Java parser but pass the Python one:
>
> {
> "namespace": "avro",
> "name": "record",
> "type": "record",
> "fields": [
>     {"name": "time stamp", "type": "long", "logicalType":
> "timestamp-millis"}
>     ]
> }
>
> (tested on https://json-schema-validator.herokuapp.com/avro.jsp, and my
> python install locally)
>
> Hope that helps,
> -James
>

Reply via email to