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

Lots of special characters are not handled in LIKE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None

    Description

      Currently LIKE converts the string to a regular expression. It tries to handle special characters but many are not correctly handled, e.g. +, ?, |, etc. That code should just use Pattern.quote.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--HIVE-2714.D1239.1.patch
          3 kB
          Phabricator
        2. HIVE-2714.D1239.1.patch
          3 kB
          Jonathan Chang

        Activity

          People

            jonchang Jonathan Chang
            jonchang Jonathan Chang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: