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

Switch to Threaded View
Pig, mail # user - How to load customized map data schema


Copy link to this message
-
Re: How to load customized map data schema
Daniel Dai 2012-02-06, 08:14
Currently PigStorage only takes:
[key#value,key#value]
You will have to preprocess it before using PigStorage. Sure you can
also write your own loader.

Daniel

On Sun, Feb 5, 2012 at 11:12 PM, Haitao Yao <[EMAIL PROTECTED]> wrote:
> Hi, all
>        out data format for map is Key:Value|Key:Value , how can I load the data into map type?  Can pig define the map delimiter like hive?
>        thanks.
>
>
>