[
https://issues.apache.org/jira/browse/PIG-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip (flip) Kromer updated PIG-4038:
--------------------------------------
Attachment: 0001-PIG-4038-SPRINTF-returns-null-on-any-null-argument.patch
attached patch: docs, test, code
> 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
> Priority: Minor
> Labels: null, sprintf, udf
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)