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

Hive Operators should calculate the value of common expressions just once

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None

    Description

      Currently, if we have "t.a + t.b" in 2 different expressions in the select clause / where clause, we are computing it twice.
      We should cache the value of the expression evaluation result to save CPU time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zshao Zheng Shao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: