allisonwang-db commented on code in PR #41867:
URL: https://github.com/apache/spark/pull/41867#discussion_r1258991326
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -2918,6 +2918,13 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val PYTHON_TABLE_UDF_ARROW_ENABLED =
+ buildConf("spark.sql.execution.pythonUDTF.arrow.enabled")
+ .doc("Enable Arrow optimization for Python UDTFs.")
+ .version("3.5.0")
+ .booleanConf
+ .createWithDefault(true)
Review Comment:
@HyukjinKwon Arrow optimization is enabled by default for Python UDTFs. If
the user does not have the necessary pyarrow dependency, it will fall back to
using regular Python UDTFs. Do you think this is viable?
--
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]