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

Pig current releases lack a UDF endsWith.This UDF tests if a given string ends with the specified suffix.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.12.0
    • piggybank
    • None
    • Pig now includes a ENDSWITH built-in UDF that checks for presence of a given suffix in a chararray.

    Description

      Pig current releases lack a UDF endsWith.This UDF tests if a given string ends with the specified suffix.This UDF returns true if the character sequence represented by the string argument given as a suffix is a suffix of the character sequence represented by the given string; false otherwise.Also true will be returned if the given suffix is an empty string or is equal to the given String.

      Attachments

        1. pig-3163.patch
          5 kB
          Sriram Krishnan

        Issue Links

          Activity

            People

              skrishnan Sriram Krishnan
              anuroopa george Anuroopa George
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: