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

KuduPartitionExpr holds onto memory unnecessarily

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 2.9.0
    • Impala 2.10.0
    • Backend
    • None
    • ghx-label-9

    Description

      IMPALA-3742 introduced KuduPartitionExpr, which takes a row and passes it to the Kudu client to determine what partition it belongs to.

      KuduPartitionExpr never calls ScalarExprEvaluator::FreeLocalAllocations, causing it to hang on to memory longer than it needs it.

      Since we only need the value of the row for the call into the Kudu client, we can call FreeLocalAllocations after that.

      Attachments

        Issue Links

          Activity

            People

              twmarshall Thomas Tauber-Marshall
              twmarshall Thomas Tauber-Marshall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: