Skip to content

Conversation

jogrogan
Copy link
Collaborator

@jogrogan jogrogan commented Aug 20, 2025

The !resolve endpoint attempts to pretty print the avro schema. At print time certain validations are made that fields are not redefined. In our current logic we were always using the same namespace but it is often the case where fields with the same name can exist under separate namespaces, with different record schemas.

This fix always assumes different namespaces for different record fields. It keeps the schema verbose but will solve any collision problems. Execution engines shouldn't actually care about the namespace
Also fixes an issue where there was no namespace attached to map and array fields.

@jogrogan jogrogan merged commit bfa1cfd into main Aug 20, 2025
1 check passed
@jogrogan jogrogan deleted the jogrogan/avroNamespace branch August 20, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants