Hey,

With ISO 8601 you don't really have to specify the date format. If you
still want to, you'll have to escape the T as specified in
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html


Saggi

On Sun, Mar 13, 2016 at 5:35 AM, Parth Sawant <parth.sawan...@gmail.com>
wrote:

> Hi
> I'm getting date-time data in the following format : '
> yyyy-MM-dd'T'HH:mm:ss.SSSZ'.
> I read the value as a chararray and then pass it to Pig's ToDate() function
> while specifying the same previously stated date format as the format
> string argument to the function. The function however fails to parse the
> 'T' within the string. Is there a way to specify this particular date
> format to the ToDate() function in Pig or is this format not supported by
> the function?
>
> Thanks
> Parth S
>

Reply via email to