You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2016/05/17 23:01:12 UTC

[jira] [Updated] (PIG-4579) casting of primitive datetime data type should work

     [ 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:     (was: 0.16.0)
                   0.17.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.17.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)