gatorsmile commented on a change in pull request #24700:
[SPARK-27834][SQL][R][PYTHON] Make separate PySpark/SparkR vectorization
configurations
URL: https://github.com/apache/spark/pull/24700#discussion_r287412753
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1326,14 +1326,24 @@ object SQLConf {
val ARROW_EXECUTION_ENABLED =
buildConf("spark.sql.execution.arrow.enabled")
- .doc("When true, make use of Apache Arrow for columnar data transfers." +
- "In case of PySpark, " +
+ .doc("(Deprecated since Spark 3.0, please set
'spark.sql.pyspark.execution.arrow.enabled'.)")
+ .booleanConf
+ .createWithDefault(false)
+
+ val PYSPARK_ARROW_EXECUTION_ENABLED =
+ buildConf("spark.sql.pyspark.execution.arrow.enabled")
+ .doc("When true, make use of Apache Arrow for columnar data transfers in
PySpark. " +
+ "This optimization applies to: " +
"1. pyspark.sql.DataFrame.toPandas " +
"2. pyspark.sql.SparkSession.createDataFrame when its input is a
Pandas DataFrame " +
"The following data types are unsupported: " +
- "BinaryType, MapType, ArrayType of TimestampType, and nested
StructType." +
+ "BinaryType, MapType, ArrayType of TimestampType, and nested
StructType.")
+ .fallbackConf(ARROW_EXECUTION_ENABLED)
- "In case of SparkR," +
+ val SPARKR_ARROW_EXECUTION_ENABLED =
+ buildConf("spark.sql.sparkr.execution.arrow.enabled")
Review comment:
spark.sparkr.arrow.enabled ?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]