maropu commented on a change in pull request #30297:
URL: https://github.com/apache/spark/pull/30297#discussion_r521149081
##########
File path: docs/sql-ref-ansi-compliance.md
##########
@@ -111,6 +111,8 @@ SELECT * FROM t;
The behavior of some SQL functions can be different under ANSI mode
(`spark.sql.ansi.enabled=true`).
- `size`: This function returns null for null input under ANSI mode.
+ - `element_at`: This function throws `ArrayIndexOutOfBoundsException` if
using invalid indices under ANSI mode.
+ - `elt`: This function throws `ArrayIndexOutOfBoundsException` if using
invalid indices under ANSI mode.
Review comment:
nit: how about removing "`under ANSI mode`" in each entry? They look
redundant.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]