You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Michael Ho (Code Review)" <ge...@cloudera.org> on 2016/04/28 18:48:33 UTC

[Impala-CR](cdh5-trunk) IMPALA-1583: Simplify PartitionedHashJoinNode::ProcessProbeBatch()

Michael Ho has uploaded a new change for review.

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

Change subject: IMPALA-1583: Simplify PartitionedHashJoinNode::ProcessProbeBatch()
......................................................................

IMPALA-1583: Simplify PartitionedHashJoinNode::ProcessProbeBatch()

PartitionedHashJoinNode::ProcessProbeBatch() is templatized
to deal with various join types. It's rather hard to follow
with logic of probing of different join types mixed together
and goto statements interleaved in between.

This change mechanically refactors the probing logic into four
different functions: one for inner joins, one for outer joins,
one for left semi joins and one for right semi joins. The code
is still templatized so with inlining, the generated code should
be about the same as before.

Change-Id: Ie2091bdf97ab34c5cdc84e84394c579a5b36afc0
---
M be/src/exec/partitioned-hash-join-node-ir.cc
M be/src/exec/partitioned-hash-join-node.h
M be/src/runtime/row-batch.h
3 files changed, 284 insertions(+), 117 deletions(-)


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

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