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-4397,IMPALA-3259: reduce codegen time and memory
Date Thu, 17 Nov 2016 18:59:06 GMT
Michael Ho has posted comments on this change.

Change subject: IMPALA-4397,IMPALA-3259: reduce codegen time and memory

Patch Set 4:

File be/src/exec/hdfs-scanner.h:

> This is more about avoiding codegen blow-ups instead of making a cost-based
Thanks for the explanation.

I think the thing the confusion to me here is that both the FE and BE appear to be making
decisions on whether to codegen for a particular node for performance reason. It may help
to be state what falls under the high level decision in the planner vs what falls under the
backend implementation details. Is the planner decision solely based on the plan shape ?
File fe/src/main/java/org/apache/impala/planner/

PS4, Line 823: if (!hasGrouping) mergeAggNode.setDisableCodegen(true);
> I think it's different from the agg node. For the agg node we know based on
Thanks. Similar comments about the need to spell out the difference between high level decision
in the planner vs compilation cost related decision from backend implementation.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Id10015b49da182cb181a653ac8464b4a18b71091
Gerrit-PatchSet: 4
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Marcel Kornacker <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message