aboutsummaryrefslogtreecommitdiff
path: root/sql/catalyst
diff options
context:
space:
mode:
authorLiang-Chi Hsieh <viirya@gmail.com>2015-03-02 13:11:17 -0800
committerMichael Armbrust <michael@databricks.com>2015-03-02 13:11:17 -0800
commit3f9def81170c24f24f4a6b7ca7905de4f75e11e0 (patch)
tree8efb8914beb981a3987ce6a0130b9d83560659d8 /sql/catalyst
parent0b472f60cdf4984ab5e28e6dbf12615e8997a448 (diff)
downloadspark-3f9def81170c24f24f4a6b7ca7905de4f75e11e0.tar.gz
spark-3f9def81170c24f24f4a6b7ca7905de4f75e11e0.tar.bz2
spark-3f9def81170c24f24f4a6b7ca7905de4f75e11e0.zip
[Minor] Fix doc typo for describing primitiveTerm effectiveness condition
It should be `true` instead of `false`? Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #4762 from viirya/doc_fix and squashes the following commits: 2e37482 [Liang-Chi Hsieh] Fix doc.
Diffstat (limited to 'sql/catalyst')
-rw-r--r--sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
index 1f80d84b74..c347780924 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
@@ -121,7 +121,7 @@ abstract class CodeGenerator[InType <: AnyRef, OutType <: AnyRef] extends Loggin
* @param nullTerm A term that holds a boolean value representing whether the expression evaluated
* to null.
* @param primitiveTerm A term for a possible primitive value of the result of the evaluation. Not
- * valid if `nullTerm` is set to `false`.
+ * valid if `nullTerm` is set to `true`.
* @param objectTerm A possibly boxed version of the result of evaluating this expression.
*/
protected case class EvaluatedExpression(