You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Anuroopa George (JIRA)" <ji...@apache.org> on 2013/02/06 07:41:13 UTC

[jira] [Updated] (PIG-3164) Pig current releases lack a UDF endsWith.This UDF tests if a given string ends with the specified suffix.

     [ https://issues.apache.org/jira/browse/PIG-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anuroopa George updated PIG-3164:
---------------------------------

    Attachment: ENDSWITH.java.patch

Attaching the patch of ENDSWITH udf
                
> Pig current releases lack a UDF endsWith.This UDF tests if a given string ends with the specified suffix.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-3164
>                 URL: https://issues.apache.org/jira/browse/PIG-3164
>             Project: Pig
>          Issue Type: New Feature
>          Components: piggybank
>    Affects Versions: 0.10.0
>            Reporter: Anuroopa George
>             Fix For: 0.9.3
>
>         Attachments: ENDSWITH.java.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira