cloud-fan commented on a change in pull request #35031:
URL: https://github.com/apache/spark/pull/35031#discussion_r777830575



##########
File path: sql/core/src/test/resources/sql-tests/inputs/map.sql
##########
@@ -1,9 +1,16 @@
 -- test cases for map functions
 
 -- key does not exist
-select element_at(map(1, 'a', 2, 'b'), 5);
+-- return null results if the map key in [] operator doesn't exist
+set spark.sql.ansi.failOnElementNotExists=false;

Review comment:
       the config name is wrong.




-- 
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