Add ability to parametize keys in maps with tuple fields or scalars
-------------------------------------------------------------------
Key: PIG-2526
URL: https://issues.apache.org/jira/browse/PIG-2526
Project: Pig
Issue Type: New Feature
Components: data, parser
Affects Versions: 0.9.2
Reporter: Russell Jurney
I want to access values in maps by tuple fields.
A = load 'data' as (id:int, M:map[]);
B = load 'other_data' as (id:int, cat:chararray);
C = JOIN A by id, C by id;
D = foreach A generate A:id, M#cat as hash_value; /* the value in cat for each
record serves as the key in the map to retrieve its value. */
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira