-
Notifications
You must be signed in to change notification settings - Fork 99
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 import does not support 'enum' type #311
Comments
Specification: https://avro.apache.org/docs/1.11.1/specification/#enums |
Confirming that this is currently not implemented, but should. If you have the ability and time to create a pull request, we're always happy to accept contributions. |
can you also verify if |
I will put up a fix in a day or two, but if you are already working on it, feel free to raise a PR :) |
Should now be fixed in |
datacontract-cli version:
0.10.8
command used:
docker run --rm -v ${PWD}:/home/datacontract datacontract/cli import --format avro --source example.json
Currently I'm having issues importing an avro schema like the following:
I'm receiving the following error:
DataContractException: Run operation failed: [schema] Map avro type to data contract type - None - failed - Unsupported type enum in avro schema. - datacontract
StackTrace
The text was updated successfully, but these errors were encountered: