You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Patcharee Thongtra <Pa...@uni.no> on 2014/05/06 10:24:35 UTC
pass command line parameters to custom LOAD
Hi,
How can I pass command line parameters to my custom LOAD function?
Patcharee
Re: pass command line parameters to custom LOAD
Posted by unmesha sreeveni <un...@gmail.com>.
How did u pass the argument?
Try this and see
PigStorage('$param')
-param param=","
On Mon, May 12, 2014 at 4:31 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> On Mon, May 12, 2014 at 1:22 PM, Patcharee Thongtra <
> Patcharee.Thongtra@uni.no> wrote:
>
>> function
>
>
> Hi
> You wrote UDF or ?
>
>
>
> --
> *Thanks & Regards *
>
>
> *Unmesha Sreeveni U.B*
> *Hadoop, Bigdata Developer*
> *Center for Cyber Security | Amrita Vishwa Vidyapeetham*
> http://www.unmeshasreeveni.blogspot.in/
>
>
>
--
*Thanks & Regards *
*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/
Re: pass command line parameters to custom LOAD
Posted by unmesha sreeveni <un...@gmail.com>.
On Mon, May 12, 2014 at 1:22 PM, Patcharee Thongtra <
Patcharee.Thongtra@uni.no> wrote:
> function
Hi
You wrote UDF or ?
--
*Thanks & Regards *
*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/
Re: pass command line parameters to custom LOAD
Posted by Patcharee Thongtra <Pa...@uni.no>.
Hi,
I implemented my own LOAD function, didn't use PigStorage. When I tried
MyLOAD($param) which is analogous to PigStorage($param), it did not work.
Patcharee
On 05/07/2014 06:33 AM, unmesha sreeveni wrote:
> You can go through this link
>
> http://www.unmeshasreeveni.blogspot.in/2014/04/custom-parameters-to-pig-script.html
>
>
> Hope this answers your question.
>
>
>
> On Tue, May 6, 2014 at 1:54 PM, Patcharee Thongtra <
> Patcharee.Thongtra@uni.no> wrote:
>
>> Hi,
>>
>> How can I pass command line parameters to my custom LOAD function?
>>
>> Patcharee
>>
>
>
Re: pass command line parameters to custom LOAD
Posted by unmesha sreeveni <un...@gmail.com>.
You can go through this link
http://www.unmeshasreeveni.blogspot.in/2014/04/custom-parameters-to-pig-script.html
Hope this answers your question.
On Tue, May 6, 2014 at 1:54 PM, Patcharee Thongtra <
Patcharee.Thongtra@uni.no> wrote:
> Hi,
>
> How can I pass command line parameters to my custom LOAD function?
>
> Patcharee
>
--
*Thanks & Regards *
*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/