impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ho (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-2885: Stores ScannerContext::Stream objects in ScannerContext's own object pool
Date Thu, 07 Jul 2016 18:52:48 GMT
Michael Ho has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3590

Change subject: IMPALA-2885: Stores ScannerContext::Stream objects in ScannerContext's own
object pool
......................................................................

IMPALA-2885: Stores ScannerContext::Stream objects in ScannerContext's own object pool

Each scanner context has at least one stream which corresponds to
one scan range. For parquet scanner, there can be multuple streams.
These Stream objects are stored in the RuntimeState's object pool
even though they have the same life span of the scanner thread.
This change adds an object pool in ScannerContext so that these
Stream objects are freed when the ScannerContext object is destroyed.

Change-Id: Ic5440d414ecc0ca19676c553275aeb85231d6045
---
M be/src/exec/scanner-context.cc
M be/src/exec/scanner-context.h
2 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/90/3590/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3590
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5440d414ecc0ca19676c553275aeb85231d6045
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Michael Ho <kwho@cloudera.com>

Mime
View raw message