[SPARK-26545] Fix typo in EqualNullSafe's truth table comment
## What changes were proposed in this pull request? The truth table comment in EqualNullSafe incorrectly marked FALSE results as UNKNOWN. ## How was this patch tested? N/A Closes #23461 from rednaxelafx/fix-typo. Authored-by: Kris Mok <kris.mok@databricks.com> Signed-off-by: gatorsmile <gatorsmile@gmail.com>
This commit is contained in:
parent
0037bbb717
commit
4ab5b5b918
|
@ -653,9 +653,9 @@ case class EqualNullSafe(left: Expression, right: Expression) extends BinaryComp
|
|||
// +---------+---------+---------+---------+
|
||||
// | <=> | TRUE | FALSE | UNKNOWN |
|
||||
// +---------+---------+---------+---------+
|
||||
// | TRUE | TRUE | FALSE | UNKNOWN |
|
||||
// | FALSE | FALSE | TRUE | UNKNOWN |
|
||||
// | UNKNOWN | UNKNOWN | UNKNOWN | TRUE |
|
||||
// | TRUE | TRUE | FALSE | FALSE |
|
||||
// | FALSE | FALSE | TRUE | FALSE |
|
||||
// | UNKNOWN | FALSE | FALSE | TRUE |
|
||||
// +---------+---------+---------+---------+
|
||||
override def eval(input: InternalRow): Any = {
|
||||
val input1 = left.eval(input)
|
||||
|
|
Loading…
Reference in a new issue