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

Switch to Threaded View
Pig, mail # user - Adding days to Pig


Copy link to this message
-
Re: Adding days to Pig
inelu nagamallikarjuna 2013-12-15, 02:32
Hi

Write a UDF, it takes date and no of days to add and returns the date....

Thanks
Naga
On Dec 14, 2013 6:19 AM, "Krishnan Narayanan" <[EMAIL PROTECTED]>
wrote:

> Hi All ,
>
> I am trying to do something like (get_date +46 days) , how to achieve this
> in pig.
>
> I am using pig 0.10
> help much appreciated.
>
> Thanks
> Krishnan
>