jiangjin-f commented on issue #5911: URL: https://github.com/apache/hudi/issues/5911#issuecomment-1165507833
I found hudi table exist one record ,then Consume the same recordKey data from Kafka , The only difference is 'last_ update_time' is before the existing record 'last_ update_time' field value. then hudi update record. Whether there are parameter settings to keep the records up to date. kafka Consume data  upsert data image  `public static GenericRecord stitchRecords(GenericRecord left, GenericRecord right, Schema stitchedSchema) { GenericRecord result = new Record(stitchedSchema); for (Schema.Field f : left.getSchema().getFields()) { result.put(f.name(), left.get(f.name())); } for (Schema.Field f : right.getSchema().getFields()) { result.put(f.name(), right.get(f.name())); } return result; }` -- 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]
