GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/23139
[SPARK-25860][SPARK-26107] [FOLLOW-UP] Rule ReplaceNullWithFalseInPredicate
## What changes were proposed in this pull request?
Based on https://github.com/apache/spark/pull/22857 and
https://github.com/apache/spark/pull/23079, this PR did a few updates
- Limit the data types of NULL to Boolean.
- Limit the input data type of replaceNullWithFalse to Boolean
- Create a new file for the rule ReplaceNullWithFalseInPredicate
- Update the description of this rule.
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark followupSpark-25860
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/23139.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #23139
----
commit d2c5e6666814439a049b4cb7a28ae4802b49d164
Author: gatorsmile <gatorsmile@...>
Date: 2018-11-26T03:00:27Z
fix
commit 6b6997d6c5eedb9a75af61345ae808c9d98e6f4d
Author: gatorsmile <gatorsmile@...>
Date: 2018-11-26T03:18:05Z
fix
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]