[ 
https://issues.apache.org/jira/browse/PIG-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492934#comment-13492934
 ] 

Thejas M Nair commented on PIG-2980:
------------------------------------

Thanks for the patch Zhijie. It looks good.
But it says that datestamp constants are supported, but I guess if you pass 
'1970-01-01T00:00:00.000+00:00' to pig (say as an argument to a udf), i believe 
it would get interpreted as a string . Ie, we support chararray constants that 
can be cast to datetime, but not a datetime constant per se. Is that correct ? 
(I think it makes sense to support datetime constants, using a format that does 
not cause ambiguity wrt chararray type. But that would be another jira).


                
> documentation for DateTime datatype
> -----------------------------------
>
>                 Key: PIG-2980
>                 URL: https://issues.apache.org/jira/browse/PIG-2980
>             Project: Pig
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Thejas M Nair
>            Assignee: Zhijie Shen
>             Fix For: 0.11
>
>         Attachments: PIG-2980.patch
>
>
> Documentation for new DateTime type needs to be added.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to