Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Diffing 2 avro records

Copy link to this message
Diffing 2 avro records

I have a need to 'diff' 2 avro records.

For example:
record A contains {"title" : "The Hobbit", "author" : "J.R.R. Tolkien",
"published" : "1954"}
record B contains {"title" : "The Hobbit", "author" : "J.R.R. Tolkien"}

The result should be {"published" : "1954"}, or some other way to
represent the patch to apply to record A to get record B.

Is this functionality available somewhere?

Thank you.