Repository: spark
Updated Branches:
  refs/heads/branch-1.1 a118ea5c5 -> c0e3bc17e


[SQL] Fixed 2 comment typos in SQLConf

Author: Cheng Lian <[email protected]>

Closes #2172 from liancheng/sqlconf-typo and squashes the following commits:

115cc71 [Cheng Lian] Fixed 2 comment typos in SQLConf

(cherry picked from commit 68f75dcdfe7e8ab229b73824692c4b3d4c39946c)
Signed-off-by: Michael Armbrust <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c0e3bc17
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c0e3bc17
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c0e3bc17

Branch: refs/heads/branch-1.1
Commit: c0e3bc17ede69f792cd96556bb3d8acd98b239ce
Parents: a118ea5
Author: Cheng Lian <[email protected]>
Authored: Thu Aug 28 00:08:09 2014 -0700
Committer: Michael Armbrust <[email protected]>
Committed: Thu Aug 28 00:08:39 2014 -0700

----------------------------------------------------------------------
 sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/c0e3bc17/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala 
b/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
index f0df191..64d4935 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
@@ -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.
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to