cloud-fan commented on a change in pull request #35031:
URL: https://github.com/apache/spark/pull/35031#discussion_r777830709
##########
File path: sql/core/src/test/resources/sql-tests/inputs/array.sql
##########
@@ -92,13 +92,31 @@ select
from primitive_arrays;
-- index out of range for array elements
+-- return null results if array index in [] operator is out of bound
+set spark.sql.ansi.strictIndexOperator=false;
Review comment:
since it's sub config of ANSI mode, shall we move the new tests to
`.../ansi/array.sql`?
--
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]