Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18325


Change subject: IMPALA-11185: Reuse orc row batch in the scanner life-cycle
......................................................................

IMPALA-11185: Reuse orc row batch in the scanner life-cycle

In HdfsOrcScanner::AssembleRows(), we always re-create a
orc::ColumnVectorBatch. The ideal pattern is reusing the batch and only
destroyed it when the scanner is closed.

This save half of the scanner time in some TPCH queries. See the flame
graph in JIRA description.

Tests:
 - Run CORE test

Change-Id: I03887ed94af2ff03d67cd00c79375c734a75af62
---
M be/src/exec/hdfs-orc-scanner.cc
1 file changed, 2 insertions(+), 5 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I03887ed94af2ff03d67cd00c79375c734a75af62
Gerrit-Change-Number: 18325
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to