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

Cache evaluation result of deterministic expression and reuse it

    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.1.patch
          19 kB
          Phabricator
        2. HIVE-4209.D9585.2.patch
          21 kB
          Phabricator
        3. HIVE-4209.D9585.3.patch
          27 kB
          Phabricator
        4. HIVE-4209.D9585.4.patch
          27 kB
          Phabricator
        5. HIVE-4209.D9585.5.patch
          27 kB
          Phabricator
        6. HIVE-4209.6.patch.txt
          29 kB
          Navis Ryu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: