maropu commented on a change in pull request #30297:
URL: https://github.com/apache/spark/pull/30297#discussion_r521147000



##########
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:
       I think its better to describe the behaviour change of `GetArrayItem`, 
too, so how about creating a new subsection for it like `Other SQL Operations`?




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to