Skip to content

Commit

Permalink
Note that only accept the type can be used for equality comparison in…
Browse files Browse the repository at this point in the history
… Equal/EqualNullSafe..
  • Loading branch information
viirya committed Sep 1, 2017
1 parent d8f1479 commit 099c671
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,8 @@ object Equality {
usage = "expr1 _FUNC_ expr2 - Returns true if `expr1` equals `expr2`, or false otherwise.",
arguments = """
Arguments:
* expr1, expr2 - the two expressions must be same type or can be casted to a common type.
* expr1, expr2 - the two expressions must be same type or can be casted to a common type,
and must be a type that can be used in equality comparison.
""",
examples = """
Examples:
Expand Down Expand Up @@ -545,7 +546,8 @@ case class EqualTo(left: Expression, right: Expression)
""",
arguments = """
Arguments:
* expr1, expr2 - the two expressions must be same type or can be casted to a common type.
* expr1, expr2 - the two expressions must be same type or can be casted to a common type,
and must be a type that can be used in equality comparison.
""",
examples = """
Examples:
Expand Down

0 comments on commit 099c671

Please sign in to comment.