Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/pyspark/sql/tests/test_pandas_udf_scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ def test_close(batch_iter):

with QuietTest(self.sc):
with self.sql_conf({"spark.sql.execution.arrow.maxRecordsPerBatch": 1,
"spark.sql.pandas.udf.buffer.size": 4}):
"spark.sql.execution.pandas.udf.buffer.size": 4}):
self.spark.range(10).repartition(1) \
.select(test_close(col("id"))).limit(2).collect()
# wait here because python udf worker will take some time to detect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@ object SQLConf {
.createWithDefault(10000)

val PANDAS_UDF_BUFFER_SIZE =
buildConf("spark.sql.pandas.udf.buffer.size")
buildConf("spark.sql.execution.pandas.udf.buffer.size")
.doc(
s"Same as ${BUFFER_SIZE} but only applies to Pandas UDF executions. If it is not set, " +
s"the fallback is ${BUFFER_SIZE}. Note that Pandas execution requires more than 4 bytes. " +
Expand Down