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

Cache evaluation result of deterministic expression and reuse it

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Query Processor
    • Labels:
      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.6.patch.txt
          29 kB
          Navis
        2. HIVE-4209.D9585.5.patch
          27 kB
          Phabricator
        3. HIVE-4209.D9585.4.patch
          27 kB
          Phabricator
        4. HIVE-4209.D9585.3.patch
          27 kB
          Phabricator
        5. HIVE-4209.D9585.2.patch
          21 kB
          Phabricator
        6. HIVE-4209.D9585.1.patch
          19 kB
          Phabricator

          Issue Links

            Activity

              People

              • Assignee:
                navis Navis
                Reporter:
                navis Navis
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: