nleena123 commented on issue #5539:
URL: https://github.com/apache/hudi/issues/5539#issuecomment-1122570839

   i followed the above resolution steps .
   
   changed the code to 
   Schema.Field f = new Schema.Field(CDC_TS, 
Schema.createUnion(optionalString), CDC_TS, null);
   
   After changing the default value "null" to null got the below exception 
   Job aborted due to stage failure. Caused by: NoSuchMethodError: 
org.apache.avro.Schema$Field.<init>(Ljava/lang/String;Lorg/apache/avro/Schema;Ljava/lang/String;Lorg/codehaus/jackson/JsonNode;)V
   at 
com.optum.df.hudi.sources.DFAvroKafkaSource.getDataWithCDC_TS(DFAvroKafkaSource.java:153)
   


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to