Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4065

Inline comparator calls into TopN::InsertBatch()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.7.0
    • Impala 4.0.0
    • Backend

    Description

      This is the more interesting follow-on from IMPALA-3815. We should inline the Compare() calls in the codegen'd TopN code to avoid the indirect function pointer call.

      The tricky aspect is that the Compare() calls are called from std::priority_queue, and we don't have a way to force-inline those functions at the moment.

      Attachments

        Issue Links

          Activity

            People

              sql_forever Qifan Chen
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: