[ https://issues.apache.org/jira/browse/HIVE-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666362#comment-13666362 ]
Edward Capriolo commented on HIVE-4070: --------------------------------------- Global conf variables that affect something like this are a bit scary. (It is also not common in how hive works now, global vars only effect performance usually not results. In the end 'like' is a UDF, I think the best solution is to create mlike 'mysql like' and implement that to work as desired. > Like operator in Hive is case sensitive while in MySQL (and most likely other > DBs) it's case insensitive > -------------------------------------------------------------------------------------------------------- > > Key: HIVE-4070 > URL: https://issues.apache.org/jira/browse/HIVE-4070 > Project: Hive > Issue Type: Bug > Components: UDF > Affects Versions: 0.10.0 > Reporter: Mark Grover > Assignee: Mark Grover > Priority: Trivial > > Hive's like operator seems to be case sensitive. > See > https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFLike.java#L164 > However, MySQL's like operator is case insensitive. I don't have other DB's > (like PostgreSQL) installed and handy but I am guessing their LIKE is case > insensitive as well. -- 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