You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Addition of header and avro schema would be a good addition I think.
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.
enabling of which will then prepend schema as expected by Avro for "file" format (with header, schema and then payload), instead of "raw" (rfc) format.
(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: