Yes, Pig map should be Map<String, Object>. I would think that¹s a bug.

Daniel

On 3/19/15, 2:36 AM, "RD" <[email protected]> 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.

Reply via email to