Skip to content
Closed
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
7 changes: 4 additions & 3 deletions sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ trait SQLConf {
* When set to true, Spark SQL will use the Scala compiler at runtime to generate custom bytecode
* that evaluates expressions found in queries. In general this custom code runs much faster
* than interpreted evaluation, but there are significant start-up costs due to compilation.
* As a result codegen is only benificial when queries run for a long time, or when the same
* As a result codegen is only beneficial when queries run for a long time, or when the same
* expressions are used multiple times.
*
* Defaults to false as this feature is currently experimental.
Expand All @@ -111,8 +111,9 @@ trait SQLConf {

/**
* The default size in bytes to assign to a logical operator's estimation statistics. By default,
* it is set to a larger value than `autoConvertJoinSize`, hence any logical operator without a
* properly implemented estimation of this statistic will not be incorrectly broadcasted in joins.
* it is set to a larger value than `autoBroadcastJoinThreshold`, hence any logical operator
* without a properly implemented estimation of this statistic will not be incorrectly broadcasted
* in joins.
*/
private[spark] def defaultSizeInBytes: Long =
getConf(DEFAULT_SIZE_IN_BYTES, (autoBroadcastJoinThreshold + 1).toString).toLong
Expand Down