hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-501) UDFLower is doing uppercase instead of lowercase
Date Thu, 21 May 2009 01:35:45 GMT

     [ https://issues.apache.org/jira/browse/HIVE-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zheng Shao updated HIVE-501:
----------------------------

    Attachment: HIVE-501.1.patch

> UDFLower is doing uppercase instead of lowercase
> ------------------------------------------------
>
>                 Key: HIVE-501
>                 URL: https://issues.apache.org/jira/browse/HIVE-501
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Critical
>         Attachments: HIVE-501.1.patch
>
>
> The current code is:
> {code}
> public class UDFLower extends UDF {
>   Text t = new Text();
>   public UDFLower() {
>   }
>   public Text evaluate(Text s) {
>     if (s == null) {
>       return null;
>     }
>     t.set(s.toString().toUpperCase());
>     return t;
>   }
> }
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message