You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2011/03/03 20:34:37 UTC

[jira] Resolved: (PIG-233) Support of Map operations

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

Olga Natkovich resolved PIG-233.
--------------------------------

    Resolution: Fixed

I believe both issues in this bugs has been addressed:

(1) UDFs can certainly return maps with all the recent releases
(2) We now have TOMAP function to construct maps.

Also we have not really seen requirements for any other operations. Lets open new ticket when we have use cases for more operations.

> Support of Map operations
> -------------------------
>
>                 Key: PIG-233
>                 URL: https://issues.apache.org/jira/browse/PIG-233
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Amir Youssefi
>
> Currently we have '#'  for GET operation. We need to have more Map operations e.g. PUT. 
> To address the immediate need I wrote a simple UDF for mapPut(). 
> Also we need to discuss what operation/keyword to put into language.
> On a side note:
> Currently UDF cannot return DataMap (class is not recognized and value is not carried from UDF to caller script).
> So I put it in a DataBag to make it work.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira