Seems like the Piggybank's UnixToISO should do what you're looking for - if
not long, in what datatype is your unixtimestamp arriving to your Pig
Pig supports explicit casts , but I think the conversion you're referring
to should be handled implicitly.
On Fri, Jul 29, 2011 at 9:06 AM, Marian Condurache <
[EMAIL PROTECTED]> wrote:
> Any ideas how to convert unixtimestamp to some readable date format like
> YYYY-MM-DD ?
> Is there a buit in function ?
> Because I tried UnixToIso....but it expects unix time long ....or is there
> a way to convert timestamp in time long in Pig ?
> LG, Marian