hadoop-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] Updated: (PIG-1026) [zebra] map split returns null
Date Wed, 21 Oct 2009 00:38:59 GMT

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

Olga Natkovich updated PIG-1026:
--------------------------------

    Comment: was deleted

(was: Created a customer scenario with this schema and storage hint: (TestJira1026.java)

 final static String STR_SCHEMA = "bcookie:bytes,yuid:bytes, ip:bytes,query_term:bytes,clickinfo:map(String),demog:map(String),page_params:map(String),viewinfo:collection(f1:map(String))";
  

 final static String STR_STORAGE = "[bcookie,yuid,ip,query_term];[clickinfo#{pos|sec|slk|targurl|cost|gpos},page_params#{ipc|vtestid|frcode|pagenum|query}];[clickinfo,page_params,demog];[viewinfo]";
 
Got NullPointExcepiton.)

> [zebra] map split returns null
> ------------------------------
>
>                 Key: PIG-1026
>                 URL: https://issues.apache.org/jira/browse/PIG-1026
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Jing Huang
>            Assignee: Yan Zhou
>             Fix For: 0.6.0
>
>
> Here is the test scenario:
>  final static String STR_SCHEMA = "m1:map(string),m2:map(map(int))";
>   //final static String STR_STORAGE = "[m1#{a}];[m2#{x|y}]; [m1#{b}, m2#{z}];[m1]";
>  final static String STR_STORAGE = "[m1#{a}, m2#{x}];[m2#{x|y}]; [m1#{b}, m2#{z}];[m1,m2]";
> projection: String projection2 = new String("m1#{b}, m2#{x|z}");
> User got null pointer exception on reading m1#{b}.
> Yan, please refer to the test class:
> TestNonDefaultWholeMapSplit.java 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message