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

Ratandeep Ratti updated PIG-4459:
---------------------------------
    Description: 
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?


  was:
I see that in UDFS VALUELIST/VALUESET we every element in a tuple no matter the 
type of element. In our Pig loaders we specifically do not do this. I wondering 
if this is the intended behavior or is it a bug?



> 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)

Reply via email to