LukaZdravic commented on code in PR #59016: URL: https://github.com/apache/spark/pull/59016#discussion_r4131325081
########## docs/sql-ref-syntax-qry-select-asof-join.md: ########## @@ -121,7 +121,9 @@ comparison_operator * **NULL.** A `NULL` in either operand never satisfies the `MATCH_CONDITION` comparison. Left rows whose operand is `NULL` are dropped under `INNER ASOF` and - retained with `NULL` right-side columns under `LEFT ASOF`. + retained with `NULL` right-side columns under `LEFT ASOF`. A `NULL` element of an + `ARRAY` operand, or a `NULL` field of a `STRUCT` operand, does not block a match. It + sorts before any non-`NULL` value, so `ARRAY(NULL) <= ARRAY(5)` is true. Review Comment: Yes, it's general Spark behavior -- 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]
