aditiwari01 commented on issue #2675:
URL: https://github.com/apache/hudi/issues/2675#issuecomment-806450032


   > * do you use the RowBasedSchemaProvider and hence can't explicitly provide 
schema? If you were to use your own schema registry, you might as well provide 
an updated schema to hudi while writing.
   > * got it. would be nice to have some contribution. I can help review the 
patch.
   >   In the mean time, I will give it a try schema evolution on my end with 
some local set up.
   
   1. Not sure on how to pass row schema with defaults to spark writer (if at 
all its possible.)
   
   2. The idea for path is to update to avro schema with default of null for 
all nullable fields. If you wish you can refer function 
**getAvroSchemaWithDefs** in my local branch: 
https://github.com/aditiwari01/hudi/commit/68a7ad20cc570f88940f2481d0ae19986254f1d8#diff-21ccee08cebace9de801e104f356bf4333c017d5d5c0cac4e3de63c7861f3c13R58
   
   This is bit unstructured though. Will try to have a formal PR with tests and 
all. y next week.


-- 
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:
us...@infra.apache.org


Reply via email to