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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 0.10.0
    • None
    • UDF
    • 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

            Unassigned Unassigned
            mgrover Mark Grover
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: