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)