Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


Copy link to this message
-
Diffing 2 avro records
Hello,

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.
Pierre
+
Tatu Saloranta 2012-12-07, 00:22
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB