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

          Anuroopa George created issue -
          Eli Reisman made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          Labels features patch
          Eli Reisman made changes -
          Attachment PIG-2879-1.patch [ 12542327 ]
          Eli Reisman made changes -
          Attachment PIG-2879-2.patch [ 12542373 ]
          Eli Reisman made changes -
          Attachment PIG-2879-3.patch [ 12542386 ]
          Gianmarco De Francisci Morales made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Assignee Eli Reisman [ initialcontext ]
          Eli Reisman made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Eli Reisman made changes -
          Attachment PIG-2879-4.patch [ 12545309 ]
          Gianmarco De Francisci Morales made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Release Note Pig now includes a STARTSWITH built-in UDF that checks for presence of a given prefix in a chararray.
          Fix Version/s 0.11 [ 12318878 ]
          Resolution Fixed [ 1 ]
          Bill Graham made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Cheolsoo Park made changes -
          Link This issue breaks PIG-3392 [ PIG-3392 ]
          Cheolsoo Park made changes -
          Link This issue breaks PIG-3393 [ PIG-3393 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development