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

Vectorization: Undecoded utf-8 fast-path for _ wildcards in LIKE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • None
    • None

    Description

      Queries with "%" are optimized using the BoyerMooreHorspool lookups, while the simpler single char wildcard "_" isn't optimized to be faster.

      https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/AbstractFilterStringColLikeStringScalar.java

      Has Begin, End, Middle and Chained checkers for "%", but no option to handle "_" in the chained mode.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: