Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> generic union types in piggybank


Copy link to this message
-
Re: generic union types in piggybank
Hi Cheolsoo,

Thanks for your reply!  (Liang and I work together.)  The restriction to
"simple" union types is still there in the latest code; see lines 83-95,
here:
https://github.com/apache/pig/blob/trunk/src/org/apache/pig/impl/util/avro/AvroStorageSchemaConversionUtilities.java

I know that elephant-bird has full schema support for reading/writing
protobuf (please correct me if I'm wrong).  However, I am unaware of any
alternative to AvroStorage for pig.  We may just need to implement it
ourselves, since it is a blocker for using pig with our avro schemas.
 Perhaps, someone on this list knows another workaround?

Thanks,

stan
On Wed, Mar 26, 2014 at 2:17 PM, Cheolsoo Park <[EMAIL PROTECTED]> wrote: