[
https://issues.apache.org/jira/browse/PIG-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohini Palaniswamy updated PIG-4579:
------------------------------------
Fix Version/s: (was: 0.17.0)
0.18.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.18.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.15#6346)