Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4038

SPRINTF should return NULL on any NULL input

    XMLWordPrintableJSON

Details

    • Patch Available
    • Reviewed
    • SPRINTF returns null on any null argument

    Description

      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)

      Attachments

        Activity

          People

            mrflip Flip Kromer
            mrflip Flip Kromer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: