|
|
+
prasenjit mukherjee 2010-10-13, 06:05
-
Re: loading multiple map schemaThejas M Nair 2010-10-14, 22:39
What version of pig are you using ?
It works for me with 0.7 version and svn trunk version (local mode). grunt> dump a; ([key2#val2,key1#val1],[key3#[val31,val32]]) On 10/12/10 11:05 PM, "prasenjit mukherjee" <[EMAIL PROTECTED]> wrote: $cat a.out [key1#val1,key2#val2]*[key3#[val31,val32]] grunt> a = load 'a.out' using PigStorage('*') AS (A:[], B:[]); grunt> dump a; here is the output : ([key2#val2,key1#val1],) I guess it is not taking the second map, where the value is not a single string but a list of strings. Any idea how to load this data type ? -Thanks, Prasen |