impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ho (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4008: Don't bake fields into generated IR functions of OldHashTable
Date Fri, 10 Mar 2017 02:05:43 GMT
Michael Ho has posted comments on this change.

Change subject: IMPALA-4008: Don't bake fields into generated IR functions of OldHashTable

Patch Set 2:

Commit Message:

Line 16: 
> I did a grep for CastPtrToLlvmPtr() to make sure there were no other instan
I looked at that instance at ScalarFnCall(). It t should be fine for MT as Expr objects are
shared across fragment instances. My understanding of that path is that it's a fall back to
the interpretation path if codegen fails for a child expression so they aren't dead code but
I think there are other ways of generating those code without cross-compiling the static stub
functions in
File be/src/exec/

Line 26: ExprContext* const* HashTableCtx::GetBuildExprCtxs() const {
> Long lines
File be/src/exec/

Line 736: 
> Comment that this is pointer to the first ExprContext* pointer?

Line 1099:     BasicBlock* null_block = BasicBlock::Create(context, "null", *fn);
> Maybe comment that this is a pointer to the first ExprContext*?

Line 1121:     CodegenAnyVal result = CodegenAnyVal::CreateCallWrapped(codegen, &builder,
> No longer accurate
It's still accurate in a way but I rephrased it to:

expr_ctx = ctx_vector[i];
File be/src/exec/

Line 325:       llvm_loc = builder.CreatePointerCast(llvm_loc,
> Remove TODO if you're not going to do this in this patch?
Done. old-hash-table's day is numbered anyway.

Line 651: 
> What do you think about adding a CallFunction() helper to LlvmCodegen to ma

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I75500827dff56b1fa9e5296e8e8d8667ab54aef8
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Michael Ho <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message