|
|
-
Mapping MySQL schema to Avro
Bart Verwilst 2012-11-23, 13:12
Hello!
I'm currently writing an importer to import our MySQL data into hadoop ( as Avro files ). Attached you can find the schema i'm converting to Avro, along with the corresponding Avro schema i would like to use for my imported data. I was wondering if you guys could go over the schema and determine if this is sane/optimal, and if not, how i should improve it.
As a sidenote, i converted bigints to long, and had 1 occurrence of double, which i also converted to long in the avro, not sure if that's the correct type?
Thanks in advance for your expert opinions! ;)
Kind regards,
Bart
+
Bart Verwilst 2012-11-23, 13:12
-
Re: Mapping MySQL schema to Avro
Ted Dunning 2012-11-24, 18:26
On Sat, Nov 24, 2012 at 5:19 AM, Bart Verwilst <[EMAIL PROTECTED]> wrote:
> ** > > ... I'm not sure that i understand your comment about repeating values in > fmsswitchvalues, since they are different from the ones in fmssession? >
I was just pointing out that there were fields in the fmssession record that didn't appear in the Avro version.
+
Ted Dunning 2012-11-24, 18:26
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext