You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Arjun K R (JIRA)" <ji...@apache.org> on 2012/08/16 07:29:37 UTC
[jira] [Created] (PIG-2878) 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.
Arjun K R created PIG-2878:
------------------------------
Summary: 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
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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2878) 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.
Posted by "Shami B (JIRA)" <ji...@apache.org>.
[ 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