HyukjinKwon commented on code in PR #49000:
URL: https://github.com/apache/spark/pull/49000#discussion_r1861729888


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3321,6 +3321,18 @@ object SQLConf {
       .booleanConf
       .createWithDefault(false)
 
+  val PYTHON_UDF_ARROW_CONCURRENCY_LEVEL =
+    buildConf("spark.spark.sql.execution.pythonUDF.arrow.concurrency.level")
+      .internal()
+      .doc("The level of concurrency to execute Arrow-optimized Python UDF. " +
+        "This can be useful if Python UDFs use I/O intensively.")
+      .version("4.0.0")
+      .intConf
+      .checkValue(_ > 0,
+        "The value of 
spark.spark.sql.execution.pythonUDF.arrow.concurrency.level" +
+          " must be positive.")

Review Comment:
   ```suggestion
         .checkValue(_ > 1,
           "The value of 
spark.spark.sql.execution.pythonUDF.arrow.concurrency.level" +
             " must be more than one.")
   ```



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