Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Option to relax name validation #290

Open
knl opened this issue Dec 11, 2024 · 0 comments
Open

Feature request: Option to relax name validation #290

knl opened this issue Dec 11, 2024 · 0 comments

Comments

@knl
Copy link

knl commented Dec 11, 2024

Currently, I can't process in goavro data produced by an old Java application that uses Avro 1.8 library, because schema validation dies with:

Record ought to have valid name: schema name ought to have second and remaining characters contain only [A-Za-z0-9_]: Event$

Indeed, schema begins with:

{
    "type": "record",
    "name": "CreateEvent",
    "namespace": "org.apache.hadoop.hdfs.inotify.Event$",

Would it be possible to relax name validation via an option? I see there is an exported variable RelaxedNameValidation, but that one only applies for the first component, and only when the first component is empty.

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

No branches or pull requests

1 participant