[ https://issues.apache.org/jira/browse/AVRO-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Tzvetanov Grigorov resolved AVRO-3820. --------------------------------------------- Fix Version/s: 1.12.0 1.11.3 Assignee: Kousuke Saruta Resolution: Fixed > Don't allow invalid field names > ------------------------------- > > Key: AVRO-3820 > URL: https://issues.apache.org/jira/browse/AVRO-3820 > Project: Apache Avro > Issue Type: Bug > Components: rust > Affects Versions: 1.12.0 > Reporter: Kousuke Saruta > Assignee: Kousuke Saruta > Priority: Major > Labels: pull-request-available > Fix For: 1.12.0, 1.11.3 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Given we have a schema where a field name doesn't match > [A-Za-z_][A-Za-z0-9_]* like f1.x. > {code:java} > { > "name": "my_record", > "type": "record", > "fields": [ > { > "name": "f1.x", > "type": { > "name": "my_enum", > "type": "enum", > "symbols": ["a"] > } > } > ] > } > {code} > The current Rust binding accepts such a schema but it seems illegal. > > Spec: https://avro.apache.org/docs/1.11.1/specification/#names -- This message was sent by Atlassian Jira (v8.20.10#820010)