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/02/12 01:49:57 UTC
[jira] Resolved: (PIG-534) Illustrate can't handle Map's or NULLs
[ https://issues.apache.org/jira/browse/PIG-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich resolved PIG-534.
--------------------------------
Resolution: Fixed
Assignee: Yan Zhou
I re-tested this with the latest Pig code and it is working fine:
A = load 'studentab10k' as (name, age, gpa);
B = foreach A generate TOMAP('name', name, 'age', age, 'gpa', gpa);
illustrate B;
| A | name:bytearray | age:bytearray | gpa:bytearray |
----------------------------------------------------------------
| | sarah carson | 28 | 0.37 |
----------------------------------------------------------------
-------------------------------------------------
| B | null:map |
-------------------------------------------------
| | {age=28, name=sarah carson, gpa=0.37} |
-------------------------------------------------
> Illustrate can't handle Map's or NULLs
> --------------------------------------
>
> Key: PIG-534
> URL: https://issues.apache.org/jira/browse/PIG-534
> Project: Pig
> Issue Type: Bug
> Components: grunt
> Reporter: Ian Holsman
> Assignee: Yan Zhou
> Fix For: 0.9.0
>
> Attachments: Illustrate.patch
>
>
> when I 'illustrate' a record that contains a map, or has a NULL it crashes with a NPE.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira