liuyao has posted comments on this change. ( http://gerrit.cloudera.org:8080/17344 )
Change subject: IMPALA-7560: Set selectivity of Not-equal ...................................................................... Patch Set 7: (2 comments) http://gerrit.cloudera.org:8080/#/c/17344/6/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/17344/6/fe/src/main/java/org/apache/impala/analysis/BinaryPredicate.java@256 PS6, Line 256: selectivity_ = 1.0 / distinctValues; > I think if we have null stats, the selectivity for EQ case should be comput Maybe I submit another patch to modify the selectivity of EQ to be better. This patch only modifies the selectivity of NE http://gerrit.cloudera.org:8080/#/c/17344/6/fe/src/main/java/org/apache/impala/analysis/BinaryPredicate.java@258 PS6, Line 258: // > nit. May add a comment here: For case <column> IS DISTINCT FROM NULL Done -- To view, visit http://gerrit.cloudera.org:8080/17344 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Icd6f5945840ea2a8194d72aa440ddfa6915cbb3a Gerrit-Change-Number: 17344 Gerrit-PatchSet: 7 Gerrit-Owner: liuyao <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Qifan Chen <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Reviewer: liuyao <[email protected]> Gerrit-Comment-Date: Tue, 22 Jun 2021 02:44:20 +0000 Gerrit-HasComments: Yes
