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

Transfer buffers from build side of shared join to avoid deep copy in NLJ

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Backend
    • Labels:

      Description

      This is optimisation/cleanup to follow on from IMPALA-9156. Batches returned from the join will have references into memory owned by the builder. Ideally we would be able to keep that memory alive until all the probe sides are done with it. Instead in IMPALA-9156 we set the needs_deep_copy_ flag on the row batches, which forces row batches to be flushed (or copied, if it's a NLJ).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tarmstrong Tim Armstrong
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: