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

Avoid expensive AST tree conversion to String for expressions in WHERE clause

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Parser
    • Labels:
      None

      Description

      We use the AST tree String representation of a condition in the WHERE clause to identify its column in the RowResolver. This can lead to OOM Exceptions when the condition is very large.

        Attachments

        1. HIVE-11310.patch
          7 kB
          Jesus Camacho Rodriguez
        2. HIVE-11310.1.patch
          7 kB
          Jesus Camacho Rodriguez
        3. HIVE-11310.2.patch
          7 kB
          Jesus Camacho Rodriguez
        4. HIVE-11310.3.patch
          9 kB
          Jesus Camacho Rodriguez
        5. HIVE-11310.4.patch
          11 kB
          Jesus Camacho Rodriguez
        6. HIVE-11310.4.branch-1.2.patch
          11 kB
          Jesus Camacho Rodriguez
        7. HIVE-11310.4.branch-1.0.patch
          11 kB
          Jesus Camacho Rodriguez

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              jcamachorodriguez Jesus Camacho Rodriguez Assign to me
              Reporter:
              jcamachorodriguez Jesus Camacho Rodriguez

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment