impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ho (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-3674: Lazy materialization of LLVM module bitcode.
Date Mon, 27 Jun 2016 22:11:57 GMT
Michael Ho has posted comments on this change.

Change subject: IMPALA-3674: Lazy materialization of LLVM module bitcode.

Patch Set 4:

(1 comment)
File be/src/codegen/

Line 249:   bool error = Linker::linkModules(*module_, std::move(new_module));
> I don't think it works reliably if either module is lazily loaded from what
Would you mind sharing with me offline the problem you ran into ?We may need to materialize
the source module by calling MaterializeFunctionAndCallee() on each of the function of the
source module so we pull in dependency from the destination module (i.e. the module loaded
from memory in the existing code).

In the worst case, we may need to eagerly validate both the destination and source modules
when LinkModule() is called. That will still get us the benefit in the common case where we
don't need to load modules from external UDFs' implementation.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I6ed7862fc5e86005ecea83fa2ceb489e737d66b2
Gerrit-PatchSet: 4
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Michael Ho <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Mostafa Mokhtar <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message