You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Michael Howard (JIRA)" <ji...@apache.org> on 2015/05/29 19:17:17 UTC

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

Michael Howard created PIG-4579:
-----------------------------------

             Summary: 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


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)