|
|
+
Pierre Mariani 2012-12-06, 23:30
-
Re: Diffing 2 avro recordsTatu Saloranta 2012-12-07, 00:22
Your best bet might be to serialize as JSON, use JSON diff tools (alas
I don't have links handy, but assume such exist). -+ Tatu +- On Thu, Dec 6, 2012 at 3:30 PM, Pierre Mariani <[EMAIL PROTECTED]> wrote: > 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 > |