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

Philip (flip) Kromer commented on PIG-2878:
-------------------------------------------

It should fail when more than one input is passed to the UDF: 

    ff = FILTER franchises BY EqualsIgnoreCase(franch_id, 'bOs', 'shouldfail'); 
-- should fail, doesn't
    DUMP(ff);
    -- (BOS,Boston Red Sox,Y,)

Should I re-post as a separate bug, or is a comment here appropriate?


> Pig current releases lack a UDF equalIgnoreCase.This function returns a 
> Boolean value indicating whether string left is equal to string right. This 
> check is case insensitive.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-2878
>                 URL: https://issues.apache.org/jira/browse/PIG-2878
>             Project: Pig
>          Issue Type: Bug
>          Components: internal-udfs
>    Affects Versions: 0.10.0
>            Reporter: Arjun K R
>            Assignee: Shami B
>              Labels: features
>             Fix For: 0.12.0
>
>         Attachments: PIG-2878-1.patch, PIG-2878-UnitTest.patch, PIG-2878.patch
>
>
> Pig current releases lack a UDF equalIgnoreCase.This function returns a 
> Boolean value indicating whether string left is equal to string right. This 
> check is case insensitive.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to