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

Create avro schema out of given JSON file #2

Closed
vkuznet opened this issue Dec 15, 2015 · 1 comment
Closed

Create avro schema out of given JSON file #2

vkuznet opened this issue Dec 15, 2015 · 1 comment
Assignees

Comments

@vkuznet
Copy link
Contributor

vkuznet commented Dec 15, 2015

It would be nice to have a tool which automatically creates avro schema out of given JSON file. For that it should inspect structure and value types of JSON and write schema spec. Here is a format for such script:

avro_shema.py --fin=file.json --fout=file.avsc
@vkuznet vkuznet self-assigned this Dec 22, 2015
@vkuznet
Copy link
Contributor Author

vkuznet commented Dec 22, 2015

Done via json2avsc.py script and tested with three FWJR's docs (processing, logging and merging).

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