-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add a way to produce "file" style Avro output #15
Comments
(copied my original comment from source issue) For better or worse, Avro dictates different format for files than network transport -- Avro files are supposed to have both prefix and pre-written schema as JSON. Currently this module only does "raw" encoded content, and does not have means to add wrapper stuff. Note, however, than when transferring Avro content over the wire, these are not supposed to be used. I don't know if spark (et al) would even allow use; perhaps they try to auto-detect which mode is used. |
Implementation added:
enabling of which will then prepend schema as expected by Avro for "file" format (with header, schema and then payload), instead of "raw" ( |
(moved from FasterXML/jackson-dataformat-avro#42 by @srini-daruna)
I created avro schema from class and got the byte array and want to write the data to avro file.
How can i do that.?
The text was updated successfully, but these errors were encountered: