Pig
  1. Pig
  2. PIG-2879

Pig current releases lack a UDF startsWith.This UDF tests if a given string starts with the specified prefix.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11
    • Component/s: piggybank
    • Labels:
    • Release Note:
      Pig now includes a STARTSWITH built-in UDF that checks for presence of a given prefix in a chararray.

      Description

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

      1. PIG-2879-4.patch
        3 kB
        Eli Reisman
      2. PIG-2879-3.patch
        3 kB
        Eli Reisman
      3. PIG-2879-2.patch
        8 kB
        Eli Reisman
      4. PIG-2879-1.patch
        4 kB
        Eli Reisman

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Eli Reisman
              Reporter:
              Anuroopa George
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development