bvaradar commented on issue #2149:
URL: https://github.com/apache/hudi/issues/2149#issuecomment-706080399


   @ashishmgofficial : I think there is a bug in the Schema provider 
implementation:
   
       FieldAssembler<Schema> payloadFieldAssembler = SchemaBuilder.builder()
           .record("formatted_debezium_payload")
           .fields()
           .name("_" + tsField.name()).type(tsField.schema()).withDefault(null)
           .name("_" + opField.name()).type(tsField.schema()).withDefault(null);
   
   
   should have been
   
       FieldAssembler<Schema> payloadFieldAssembler = SchemaBuilder.builder()
           .record("formatted_debezium_payload")
           .fields()
           .name("_" + tsField.name()).type(tsField.schema()).withDefault(null)
           .name("_" + 
opField.name()).type(**op**Field.schema()).withDefault(null);
   
   Can you try with that change ?


----------------------------------------------------------------
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