impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) Reduce dependencies on inline header functions
Date Tue, 15 Mar 2016 03:22:59 GMT
Tim Armstrong has posted comments on this change.

Change subject: Reduce dependencies on inline header functions

Patch Set 3:

File be/src/exec/

Line 26: #include "runtime/runtime-filter.inline.h"
> May be I missed it but doesn't seem to see any reference to RunTimeFilter i
File be/src/exec/

Line 41: #include "util/bloom-filter.h"
> Is this actually needed ?
File be/src/exec/

Line 31: #include "runtime/runtime-filter.inline.h"
> Is this for RegisterFilter() only ? If so, should we #include runtime-filte
Done. Needed to add util/bloom-filter.h too
File be/src/runtime/

Line 23: runtime/string-value.inline.h"
> Would #include "runtime/string-value.h" be sufficient ?
File be/src/runtime/raw-value.inline.h:

Line 32: inline bool RawValue::Eq(const void* v1, const void* v2, const ColumnType& type)
> Don't we only call this for interpretation ? Normally, we would use the cod
You're right now that TupleRowComparator is codegened. I'll move it to the .cc unless anyone
has objections.

Line 336: RawValue::PrintValue
> Do you know why only this version of PrintValue() is inlined ? It seems to 
Looks like that's the case: I did a git blame and the commit that moved it to the header file
claims "On lineitem, this changes time from ~65sec to 25sec."

I'm confused why this would improve performance that much too.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic7a2f388cd14a4427c43af2724340a2ffe8fae3d
Gerrit-PatchSet: 3
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Skye Wanderman-Milne <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message