Python library allows for incorrect field names in schema validation
--------------------------------------------------------------------

                 Key: AVRO-621
                 URL: https://issues.apache.org/jira/browse/AVRO-621
             Project: Avro
          Issue Type: Improvement
          Components: python
    Affects Versions: 1.3.3
            Reporter: Gavin M. Roy


When using the schema.parse() function, you can pass in fields with the name 
parameter violating the [A-Za-z_] specified for field names.  As the c library 
(and others I assume) strictly check for this, it is possible to create a 
scenario where the schema is incompatible across languages.

For example, one can make a field: {"name": "15_miles", "type": "null"} which 
would be invalid elsewhere due to the name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to