-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Avro generation failed with enums containing values with special characters #422
Comments
Please include actual code you are using: textual description is not enough to know what is being attempted. Note, though, that the exception comes from Apache Avro library which does validation for generated schema. |
Hi, @cowtowncoder , here is the reproductible example,
the associated backtrace :
|
Thank you @pfr-enedis for the reproduction. Yes, you are probably right wrt |
@pfr-enedis Quick question: do you think new
But with @MichalFoksa WDYT? |
With
|
@MichalFoksa excellent! Going forward it might be good to have a way to target specific classes (new annotation?), but for now I think this should be fine. |
May close in near future as there is a work-around, but will first see if there's a way to handle error in better way. |
Improved error handling; will close this issue. New issue(s) may be filed for suggesting further improvements. |
Enums with '-' characters in values, fails
The error is :
are there any reason for checking the enum value ? as it is generated as an avro string ?
The text was updated successfully, but these errors were encountered: