impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Bobrovytsky (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4076: Fix runtime filter sort compare method
Date Fri, 07 Oct 2016 00:48:56 GMT
Taras Bobrovytsky has posted comments on this change.

Change subject: IMPALA-4076: Fix runtime filter sort compare method

Patch Set 2:

File fe/src/main/java/org/apache/impala/planner/

Line 341:       }
> This doesn't seem quite right. A cardinality of 0 translates to a selectivi
We are checking the cardinality of the child left child (the potential destination of the
runtime filters). X/0 can never equal zero no matter what X is.
File testdata/workloads/functional-planner/queries/PlannerTest/runtime-filter-propagation.test:

Line 1121: # IMPALA-4076: This query was constructed by hand to trigger the issue with sorting
> Should also have brief description of the scenario being tested, something 

Line 1123: # so the number of runtime filters has to be greater than 32 and they have to be
in a
> We should set this 32 number a part of the planner test. Otherwise, if we c
I don't think it would silently fail, because the plan would change. But just in case, I set
the query option to 10.

Line 1203:   inner join small_two on (True)
> you can remove the "on (True)" conditions

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Iad433f2ece423ea29e79e81b68fa53cb0af18378
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Taras Bobrovytsky <>
Gerrit-HasComments: Yes

View raw message