Skip to content

Commit 6f5716f

Browse files
committed
fix comments
1 parent cee92bd commit 6f5716f

File tree

1 file changed

+2
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Expression.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ abstract class Expression extends TreeNode[Expression] {
175175
/**
176176
* Evaluation helper function for 2 Integral children expressions. Those expressions are
177177
* supposed to be in the same data type, and also the return type.
178-
* if the expression result is null, the evaluation result should be null.
178+
* Either one of the expressions result is null, the evaluation result should be null.
179179
*/
180180
@inline
181181
protected final def i2(
@@ -210,7 +210,7 @@ abstract class Expression extends TreeNode[Expression] {
210210

211211
/**
212212
* Evaluation helper function for 1 Integral children expression.
213-
* Either one of the expressions result is null, the evaluation result should be null.
213+
* if the expression result is null, the evaluation result should be null.
214214
*/
215215
@inline
216216
protected final def i1(i: Row, e1: Expression, f: ((Integral[Any], Any) => Any)): Any = {

0 commit comments

Comments
 (0)