[ https://issues.apache.org/jira/browse/PIG-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676105#comment-13676105 ]
Rohini Palaniswamy commented on PIG-3345: ----------------------------------------- I started with this fix because we saw GetYear throw NPE. But found that TODate() returns current time when null value is passed before this fix which is incorrect. So will be porting this to 0.11.2 also. > Handle null in DateTime functions > --------------------------------- > > Key: PIG-3345 > URL: https://issues.apache.org/jira/browse/PIG-3345 > Project: Pig > Issue Type: Bug > Affects Versions: 0.11.1 > Reporter: Rohini Palaniswamy > Assignee: Rohini Palaniswamy > Fix For: 0.12 > > Attachments: PIG-3345-1.patch, PIG-3345-2.patch > > > NPE is thrown in date time functions when a null value is passed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira