Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4070

Like operator in Hive is case sensitive while in MySQL (and most likely other DBs) it's case insensitive

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: UDF
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgrover Mark Grover
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: