prashantwason commented on issue #1845:
URL: https://github.com/apache/hudi/issues/1845#issuecomment-663168345


   > I would have used GenericDatumReader with reader and writer schema, but 
first I wanted to append new evoluted events to an existing file
   In HUDI log files, records are added to AvroDataBlock which have a header 
containing the schema for the writer. Different AvroDataBlock could have 
different schemas but all records within the same block should have the same 
schema.
   
   Log blocks are read using both reader/write schema.
   
   
https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieAvroDataBlock.java#L143
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to