Tim Armstrong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16714 )

Change subject: IMPALA-10320: Specify expression selectivity for BoolLiteral.
......................................................................

IMPALA-10320: Specify expression selectivity for BoolLiteral.

Setting the selectivity of true and false literals to 1 and 0
respectively.

Also setting a NullLiteral's selectivity to 0.

Testing:
- New tests in ExprCardinalityTest

Change-Id: I999942c96cd685f22d8634509d9f488f2a1f82b8
Reviewed-on: http://gerrit.cloudera.org:8080/16714
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Tim Armstrong <[email protected]>
---
M fe/src/main/java/org/apache/impala/analysis/BoolLiteral.java
M fe/src/main/java/org/apache/impala/analysis/NullLiteral.java
M fe/src/test/java/org/apache/impala/analysis/ExprCardinalityTest.java
3 files changed, 11 insertions(+), 2 deletions(-)

Approvals:
  Impala Public Jenkins: Verified
  Tim Armstrong: Looks good to me, approved

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I999942c96cd685f22d8634509d9f488f2a1f82b8
Gerrit-Change-Number: 16714
Gerrit-PatchSet: 2
Gerrit-Owner: Shant Hovsepian <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>

Reply via email to