I wrote code to do this and it is used in production at high volume.
It is a recursive implementation that reads the next schema field or record
from the desired schema and gets the field from the original object by name.
The tricky parts are dealing with enumerations (as you noted). The code
use
Hi,
You will need to write a new org.apache.avro.io.Encoder.
If you succeed making it then please share it with the commuity via Pull
Request!
If you don't - please create an issue and we will try to help!
On Sun, Dec 5, 2021 at 6:31 PM KV 59 wrote:
> Hi All,
>
> Here is my situation, I have a