[ 
https://issues.apache.org/jira/browse/PIG-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641898#comment-13641898
 ] 

Niels Basjes commented on PIG-3164:
-----------------------------------

This code contains this line
   public class ENDSWITH extends EvalFunc<Boolean> throws ExecException {       

A class cannot throw anything.
Please reopen and fix.
                
> 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
>            Assignee: Anuroopa George
>             Fix For: 0.12
>
>         Attachments: ENDSWITH.java.patch, ENDSWITH_updated.java
>
>
> 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

Reply via email to