spark-instrumented-optimizer/sql/catalyst/src
gatorsmile 79cc59718f [SPARK-25402][SQL] Null handling in BooleanSimplification
## What changes were proposed in this pull request?
This PR is to fix the null handling in BooleanSimplification. In the rule BooleanSimplification, there are two cases that do not properly handle null values. The optimization is not right if either side is null. This PR is to fix them.

## How was this patch tested?
Added test cases

Closes #22390 from gatorsmile/fixBooleanSimplification.

Authored-by: gatorsmile <gatorsmile@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
2018-09-12 21:11:22 +08:00
..
main [SPARK-25402][SQL] Null handling in BooleanSimplification 2018-09-12 21:11:22 +08:00
test [SPARK-25402][SQL] Null handling in BooleanSimplification 2018-09-12 21:11:22 +08:00