Tim Armstrong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16462 )

Change subject: IMPALA-10185 Use bool stats for selectivity calculations.
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/16462/2/fe/src/main/java/org/apache/impala/analysis/BinaryPredicate.java
File fe/src/main/java/org/apache/impala/analysis/BinaryPredicate.java:

http://gerrit.cloudera.org:8080/#/c/16462/2/fe/src/main/java/org/apache/impala/analysis/BinaryPredicate.java@253
PS2, Line 253:           return;
Doing the early return seems a bit confusing when it's in a method that does a 
bunch of other things. Maybe it would be clearer if you factored this out into 
a method that just calculated selectivity, because then it would be obvious 
that you were returning early because you were done calculating selectivity.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I95c1c7c915bf6bca13fe006c0531c33988187d12
Gerrit-Change-Number: 16462
Gerrit-PatchSet: 2
Gerrit-Owner: Shant Hovsepian <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Qifan Chen <[email protected]>
Gerrit-Reviewer: Shant Hovsepian <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Comment-Date: Mon, 26 Oct 2020 17:48:32 +0000
Gerrit-HasComments: Yes

Reply via email to