[
https://issues.apache.org/jira/browse/PIG-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510511#comment-13510511
]
Shami B commented on PIG-2878:
------------------------------
We can have a solution by extending the FilterFunc class in Pig. The exec()
method implementation will be like :
String firstStr = (String)input.get(0);
String secondStr = (String)input.get(1);
return new Boolean(firstStr.equalsIgnoreCase(secondStr));
where input is the argument to exec() method.
> 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: piggybank
> Affects Versions: 0.10.0
> Reporter: Arjun K R
> Labels: features
>
> 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 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