Skye Wanderman-Milne has posted comments on this change.

Change subject: IMPALA-2548: Codegen Tuple::MaterializeExprs() and use in TopN 
node
......................................................................


Patch Set 10:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/1901/10/be/src/exec/topn-node.cc
File be/src/exec/topn-node.cc:

Line 79:       sort_exec_exprs_.sort_tuple_slot_expr_ctxs(), NULL, 
&materialize_exprs_no_pool_fn));
> what's the problem with having just a single symbol?
You mean a single symbol for the pool and no pool case? I wanted to remove the 
conditionals checking if pool is NULL, requiring two different codegen'd 
functions for the NULL and non-NULL cases. Then I need to know which function 
calls to replace with which codegen'd function, so I created two different 
symbols for the original functions too.

Given how much confusion this has caused (there was a lot of discussion about 
this previously too), maybe I should have ReplaceCallSites() optionally take a 
vector<Type*> argument that is the signature to look for, in addition to the 
symbol. What do you think?


-- 
To view, visit http://gerrit.cloudera.org:8080/1901
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib422a8d50303c21c6a228675157bf867e8619444
Gerrit-PatchSet: 10
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Skye Wanderman-Milne <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-Reviewer: Michael Ho <[email protected]>
Gerrit-Reviewer: Skye Wanderman-Milne <[email protected]>
Gerrit-HasComments: Yes

Reply via email to