This is an issue in PigStorage is present in recent versions of pig. Ie you cannot have complex types (bag, tuple, map) as a value in map type, if you are using PigStorage . See - https://issues.apache.org/jira/browse/PIG-1016
-Thejas On 1/5/10 10:28 AM, "Alan Gates" <[email protected]> wrote: > It should be supported. You may need to explicitly cast it to a tuple > so Pig knows to treat it as a tuple. Can you send the scripts that > are giving the error? > > Alan. > > On Jan 4, 2010, at 9:10 PM, Guy Bayes wrote: > >> Is this supported? >> >> Say I have a map >> >> [f2#(1,6)] >> >> I cannot figure out how to de-reference the (1,6) tuple, I either >> get type >> conversion failure and () returned, or a 1066 error message "ERROR >> 1066: >> Unable to open iterator for alias" >> >> thanks >> Guy >
