Thomas Tauber-Marshall has posted comments on this change.

Change subject: IMPALA-2805: Order conjuncts based on selectivity and cost
......................................................................


Patch Set 17:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/2598/17/fe/src/main/java/com/cloudera/impala/analysis/BinaryPredicate.java
File fe/src/main/java/com/cloudera/impala/analysis/BinaryPredicate.java:

Line 259:         evalCost_ = getChildCosts() + (float) 
(getAvgStringLength(getChild(0)) +
> format as 
Done


http://gerrit.cloudera.org:8080/#/c/2598/17/fe/src/main/java/com/cloudera/impala/analysis/LikePredicate.java
File fe/src/main/java/com/cloudera/impala/analysis/LikePredicate.java:

Line 149:         evalCost_ = getChildCosts() + (float) 
(getAvgStringLength(getChild(0)) +
> same here
Done


http://gerrit.cloudera.org:8080/#/c/2598/17/testdata/workloads/functional-planner/queries/PlannerTest/conjunct-ordering.test
File 
testdata/workloads/functional-planner/queries/PlannerTest/conjunct-ordering.test:

Line 1: # Check that a numeric comparison costs less than checking a bool value.
> the other way around
Done


Line 31: # CHeck that a simple numeric comparison costs less than one with 
arithmetic.
> Check
Done


-- 
To view, visit http://gerrit.cloudera.org:8080/2598
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I02279a26fbc6308ac5eb819d78345fc010469034
Gerrit-PatchSet: 17
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Thomas Tauber-Marshall <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-Reviewer: Matthew Jacobs <[email protected]>
Gerrit-Reviewer: Mostafa Mokhtar <[email protected]>
Gerrit-Reviewer: Thomas Tauber-Marshall <[email protected]>
Gerrit-HasComments: Yes

Reply via email to