Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> loading multiple map schema

Copy link to this message
Re: loading multiple map schema
What version of pig are you using ?

It works for me with 0.7 version and svn trunk version (local mode).

grunt> dump a;

On 10/12/10 11:05 PM, "prasenjit mukherjee" <[EMAIL PROTECTED]> wrote:

$cat a.out

grunt> a = load 'a.out' using PigStorage('*') AS (A:[], B:[]);
grunt> dump a;

here is the output :

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  ?