[ 
https://issues.apache.org/jira/browse/PIG-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-4038:
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0
         Assignee: Philip (flip) Kromer
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

+1. Patch committed to trunk. Thanks Philip!

> SPRINTF should return NULL on any NULL input
> --------------------------------------------
>
>                 Key: PIG-4038
>                 URL: https://issues.apache.org/jira/browse/PIG-4038
>             Project: Pig
>          Issue Type: Bug
>          Components: internal-udfs
>            Reporter: Philip (flip) Kromer
>            Assignee: Philip (flip) Kromer
>            Priority: Minor
>              Labels: null, sprintf, udf
>             Fix For: 0.14.0
>
>         Attachments: 
> 0001-PIG-4038-SPRINTF-returns-null-on-any-null-argument.patch
>
>
> SPRINTF will currently interpolate the string 'null' if supplied with null 
> arguments, which is "helpful but not help-ing". This patch makes it return 
> null if any argument -- format or fodder -- is null.
> (See PIG-3939 for SPRINTF implementation)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to