Closed neyama closed 3 weeks ago
Closes #1045 .
Provide a default value 1g to getSizeAsMb(EXECUTOR_MEMORY.key), which is the default value of spark.executor.memory in Apache Spark 3.5.3.
1g
getSizeAsMb(EXECUTOR_MEMORY.key)
spark.executor.memory
private val EXECUTOR_MEMORY_DEFAULT
EXECUTOR_MEMORY_DEFAULT
Tested with the datafusion-benchmarks as described in the issue #1045 .
datafusion-benchmarks
Thanks @neyama @andygrove
Which issue does this PR close?
Closes #1045 .
Rationale for this change
Provide a default value
1g
togetSizeAsMb(EXECUTOR_MEMORY.key)
, which is the default value ofspark.executor.memory
in Apache Spark 3.5.3.What changes are included in this PR?
private val EXECUTOR_MEMORY_DEFAULT
in the classgetSizeAsMb(EXECUTOR_MEMORY.key)
withEXECUTOR_MEMORY_DEFAULT
How are these changes tested?
Tested with the
datafusion-benchmarks
as described in the issue #1045 .