You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by RD <rd...@gmail.com> on 2015/03/21 05:08:12 UTC

Re: Should AvroMapWrapper be implememting Map ?

Friendly bump.



On Thu, Mar 19, 2015 at 3:06 PM, RD <rd...@gmail.com> wrote:

> Hi Folks,
>    I see that com.linkedin.dali.pig.avro.AvroMapWrapper implements a
> Map<Charsequence, Object> . I'm wondering if this can cause problems and
> class-cast exceptions in the pig processing pipeline. As Map keys are
> supposed to be of String type.
>
> If this is correct then I can file a ticket and work on this.
>
> Also as a side question, I wondering as to why aren't these
> Avro[Tuple|Map|Bag| wrapper classes read only implementations of their
> respective interfaces?
>
> Best,
> R.
>