You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Oscar Westra van Holthe - Kind (Jira)" <ji...@apache.org> on 2023/08/17 08:08:00 UTC
[jira] [Created] (AVRO-3833) Spec: clarify uniqueness of names and aliases
Oscar Westra van Holthe - Kind created AVRO-3833:
----------------------------------------------------
Summary: Spec: clarify uniqueness of names and aliases
Key: AVRO-3833
URL: https://issues.apache.org/jira/browse/AVRO-3833
Project: Apache Avro
Issue Type: Improvement
Components: spec
Affects Versions: 1.11.2
Reporter: Oscar Westra van Holthe - Kind
The specification currently says nothing about the uniqueness of names. At most it says something about equality of names, assuming readers understand that a name must uniquely identify a type.
I suggest making the rules for uniqueness explicit.
This would mean:
# Full names and aliases of types (including namespace) must be unique
# For each enum type, symbol names must be unique
# For each record/error type, field names and aliases must be unique
Also, I propose to add that aliases should be, but to not need be, valid names. Using an invalid name as alias allows schema evolution to correct illegal names used in the past.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)