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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.10.0
    • 0.14.0
    • piggybank
    • None
    • Pig,UDf,ENDSWITH,endswith

    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. ENDSWITH.java.patch
          3 kB
          Anuroopa George
        2. ENDSWITH_updated.java
          3 kB
          Anuroopa George

        Activity

          People

            anuroopa george Anuroopa George
            anuroopa george Anuroopa George
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: