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

UDFLike: reduce Regex NFA sizes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.1, 1.3.0, 2.0.0, 2.1.0
    • 2.1.0
    • UDF
    • None

    Description

      The NFAs built from complex regexes in UDFLike are extremely complex and spend a lot of time doing simple expression matching with no backtracking.

      Prevent NFA -> DFA explosion by using reluctant regex matches instead of greedy matches.

      Attachments

        1. HIVE-13196.1.patch
          0.6 kB
          Gopal Vijayaraghavan
        2. HIVE-13196.1.patch
          0.6 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: