Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8088

Improve expression evaluation performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.19.0
    • 1.20.0
    • Execution - Codegen
    • None

    Description

      Found unnecessary map copy when doing expression evaluation, it will slow down the codegen when the query include many "case when" or avg/stddev(the reduced expressions include "case when"). In our case, the query include 314 avg, it takes 3+ seconds to generate the projector expressions(Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz 32cores).

      Attachments

        Activity

          People

            leon_wtf wtf
            leon_wtf wtf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: