pjfanning commented on code in PR #40933:
URL: https://github.com/apache/spark/pull/40933#discussion_r1179092821


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JSONOptions.scala:
##########
@@ -43,6 +43,21 @@ private[sql] class JSONOptions(
 
   import JSONOptions._
 
+  private val maxNestingDepth: Int = parameters

Review Comment:
   don't make any changes yet - but @LuciferYang, are there are guidelines 
about to handle cases where the parameter values are not convertible to ints 
(.toInt fails) and where the values evaluate to negative values (which will 
cause an IllegalArgumentException when setting up StreamReadConstraints



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