You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Atin Sood <so...@outlook.com> on 2013/05/16 01:12:35 UTC

avrò and mongo

I am thinking of a use case of creating a dynamic UI where a user gets to pick fields that they want and the data type, other attributes like whether the fi
using this I am thinking of generating an avro schema which can be saved somewhere
now when the user comes back to the UI which is based out of this schema and enters a bunch of values I would want to validate this data against this avro and save it in mongo

just wondering if anyone has tried saving avro data into mongo
and whats the best way to go about it.. new to avro to there might be a fundamental flaw in my thinking

Re: avrò and mongo

Posted by Russell Jurney <ru...@gmail.com>.
FWIW, I have a simple script, avro_to_mongo.pig that does the conversion:
https://github.com/rjurney/enron-node-mongo/blob/master/avro_to_mongo.pig


On Wed, May 15, 2013 at 4:12 PM, Atin Sood <so...@outlook.com> wrote:

> I am thinking of a use case of creating a dynamic UI where a user gets to
> pick fields that they want and the data type, other attributes like whether
> the fi
> using this I am thinking of generating an avro schema which can be saved
> somewhere
> now when the user comes back to the UI which is based out of this schema
> and enters a bunch of values I would want to validate this data against
> this avro and save it in mongo
>
> just wondering if anyone has tried saving avro data into mongo
> and whats the best way to go about it.. new to avro to there might be a
> fundamental flaw in my thinking
>



-- 
Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com