uros-b commented on code in PR #57413:
URL: https://github.com/apache/spark/pull/57413#discussion_r3631567963


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala:
##########


Review Comment:
   The @ExpressionDescription usage field still reads "_FUNC_(array, value) - 
Returns true if the array contains the value." This one-liner surfaces in 
DESCRIBE FUNCTION output and the generated SQL function reference. The PR edits 
the examples block of this exact annotation to add a NULL-returning case, 
leaving the usage summary internally inconsistent with its own example and with 
the newly corrected Scaladoc. The sibling arrays_overlap (same file, line 1851) 
documents its null semantics in the usage field, so there is a direct 
precedent; bringing this line in line is a natural part of the stated goal.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to