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

Cache evaluation result of deterministic expression and reuse it

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.12.0
    • Query Processor
    • None

    Description

      For example,

      select key from src where key + 1 > 100 AND key + 1 < 200 limit 3;
      

      key + 1 need not to be evaluated twice.

      Attachments

        1. HIVE-4209.D9585.5.patch
          27 kB
          Phabricator
        2. HIVE-4209.D9585.4.patch
          27 kB
          Phabricator
        3. HIVE-4209.D9585.3.patch
          27 kB
          Phabricator
        4. HIVE-4209.D9585.2.patch
          21 kB
          Phabricator
        5. HIVE-4209.D9585.1.patch
          19 kB
          Phabricator
        6. HIVE-4209.6.patch.txt
          29 kB
          Navis Ryu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            navis Navis Ryu Assign to me
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment