pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-233) Support of Map operations
Date Thu, 03 Mar 2011 19:34:37 GMT

     [ 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

        

Mime
View raw message