[ 
https://issues.apache.org/jira/browse/PIG-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-4579:
----------------------------
    Fix Version/s: 0.16.0

> casting of primitive datetime data type should work
> ---------------------------------------------------
>
>                 Key: PIG-4579
>                 URL: https://issues.apache.org/jira/browse/PIG-4579
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Michael Howard
>            Priority: Minor
>             Fix For: 0.16.0
>
>
> datetime is a primitive data type. 
> One should be able to cast a chararray or a long into a datetime. 
> currently, this does not work. 
> casting from a chararray should call the built-in UDF ToDateISO(chararray)
> casting from a long should call the built-in UDF ToDate(long)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to