cloud-fan commented on a change in pull request #30297:
URL: https://github.com/apache/spark/pull/30297#discussion_r520549940
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -2146,7 +2146,9 @@ object SQLConf {
.doc("When true, Spark tries to conform to the ANSI SQL specification: 1.
Spark will " +
"throw a runtime exception if an overflow occurs in any operation on
integral/decimal " +
"field. 2. Spark will forbid using the reserved keywords of ANSI SQL as
identifiers in " +
- "the SQL parser.")
+ "the SQL parser. 3. Spark will returns null for null input for function
`size`. " +
+ "4. Spark will throw ArrayIndexOutOfBoundsException if invalid indices "
+
Review comment:
We can merge 1 and 4: `1. Spark will throw an exception at runtime if
the inputs to a SQL operator/function are invalid, e.g. overflow in arithmetic
operations, out-of-range index when accessing array elements.`
----------------------------------------------------------------
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]