The answer is still the same for the revised question. AFAIK, there is no CSV to JSON (Avro Schema) generation tool. I think it would be a nice tool to add. I also doubt you are the only person who has thought/required this functionality. Commons CSV [0] is a Java library (which I've used in a number of projects) that will take a LOT of pain out of dealing with your CSV. Mapping CSV characteristics to Avro Schema constituents would most likely not be 'too' difficult. hth Lewis
[0] http://commons.apache.org/proper/commons-csv/ On Wed, Mar 26, 2014 at 10:57 AM, Sachneet Singh Bains < [email protected]> wrote: > Hi Lewis, > > > > Thanks a lot. I am getting acquainted with the technology now. J > > Sorry, there was a typo in the fourth question, thus asking it again : > > > > 4. Also, I am wondering if there is *ANY* feature to automatically > generate a schema from an incoming data (CSV format) ? > > The use case is that I will receive a CSV file with column > identifiers/names for each comma separated column , can I create an AVRO > schema on the fly /automatically for this ? > > > > Thanks, > > Sachneet > > > > ------------------------------ > > > > > > > NOTE: This message may contain information that is confidential, > proprietary, privileged or otherwise protected by law. The message is > intended solely for the named addressee. If received in error, please > destroy and notify the sender. Any use of this email is prohibited when > received in error. Impetus does not represent, warrant and/or guarantee, > that the integrity of this communication has been maintained nor that the > communication is free of errors, virus, interception or interference. > -- *Lewis*
