Hive
  1. Hive
  2. HIVE-501

UDFLower is doing uppercase instead of lowercase

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The current code is:

      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;
        }
      
      }
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Zheng Shao
            Reporter:
            Zheng Shao
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development