You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Anthony Hsu (JIRA)" <ji...@apache.org> on 2015/03/13 18:27:38 UTC

[jira] [Resolved] (PIG-4459) VALUESET/VALUELIST wraps an element in a tuple even if that element is a tuple

     [ https://issues.apache.org/jira/browse/PIG-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Hsu resolved PIG-4459.
------------------------------
    Resolution: Not a Problem

> VALUESET/VALUELIST wraps an element in a tuple even if that element is a tuple
> ------------------------------------------------------------------------------
>
>                 Key: PIG-4459
>                 URL: https://issues.apache.org/jira/browse/PIG-4459
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Ratandeep Ratti
>              Labels: UDF, VALUELIST, VALUESET
>         Attachments: valueset_doubly_wraps_tuples_in_map.patch
>
>
> I see that in UDFS VALUELIST/VALUESET we wrap every element in a tuple no matter the type of element, which means that we may  wrap a tuple inside a tuple if the input map contains tuples as values. In our Pig loaders we specifically do not do this, when converting to DataBags we do not wrap elements in tuples which are tuple equivalents. I wondering if this is the intended behavior or is it a bug?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)