You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jonathan Coveney (JIRA)" <ji...@apache.org> on 2013/02/19 14:37:12 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13581267#comment-13581267 ]
Jonathan Coveney commented on PIG-3164:
---------------------------------------
Thanks for the contribution. If an ExecException is thrown, it should just be thrown, not caught and then nulled out. Update that and this looks fine.
> 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