Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/22029#discussion_r228440285
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala
---
@@ -202,7 +209,11 @@ case class InSubquery(values: Seq[Expression], query:
ListQuery)
*/
// scalastyle:off line.size.limit
@ExpressionDescription(
- usage = "expr1 _FUNC_(expr2, expr3, ...) - Returns true if `expr` equals
to any valN.",
+ usage = """
+ expr1 _FUNC_(expr2, expr3, ...) - Returns true if `expr` equals to any
valN. Otherwise, if
+ spark.sql.legacy.inOperator.falseForNullField is false and any of
the elements or fields of
+ the elements is null it returns null, else it returns false.
--- End diff --
that doesn't work. We cannot do `stripMargin`. We can just put a string.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]