hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markovitz, Dudu" <>
Subject RE: Any difference between LOWER and LCASE
Date Wed, 11 May 2016 04:43:36 GMT

According to documentation LCASE is a synonym for LOWER.
From what I've seen in the source code, it seems right.

    system.registerGenericUDF("lower", GenericUDFLower.class);
    system.registerGenericUDF("lcase", GenericUDFLower.class);

Please verify that you've run the exact same queries.
If you still see an issue, please share the relevant DDL (table/tables definition) and a small
subset of data so I would be able to reproduce it.



-----Original Message-----
From: mahender bigdata [] 
Sent: Wednesday, May 11, 2016 1:55 AM
Subject: Any difference between LOWER and LCASE

Hi Team,

Is there any difference between LOWER and LCASE functions in Hive. For one of the query, when
we are using LOWER in where condition, it is failing to match record. When we changed to LCASE,
it started matching. 
I surprised to see differences in LOWER and LCASE. Can any one know why there 2 function for
same functionality. Is there any thing to do with any special or Unicode characters where
Lower and LCASE differs in functionality


View raw message