diff options
author | Michał Kiełbowicz <jupblb@users.noreply.github.com> | 2016-08-09 23:01:50 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-08-09 23:01:50 -0700 |
commit | 9dc3e602d77ccdf670f1b6648e5674066d189cc0 (patch) | |
tree | 49b20a2cab0dd4175f2b28472417d0c01bc692d9 /sql/catalyst/src | |
parent | 121643bc76516041df010ca7ec7853d7731ffd25 (diff) | |
download | spark-9dc3e602d77ccdf670f1b6648e5674066d189cc0.tar.gz spark-9dc3e602d77ccdf670f1b6648e5674066d189cc0.tar.bz2 spark-9dc3e602d77ccdf670f1b6648e5674066d189cc0.zip |
Fixed typo
## What changes were proposed in this pull request?
Fixed small typo - "value ... ~~in~~ is null"
## How was this patch tested?
Still compiles!
Author: Michał Kiełbowicz <jupblb@users.noreply.github.com>
Closes #14569 from jupblb/typo-fix.
Diffstat (limited to 'sql/catalyst/src')
-rw-r--r-- | sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala index d83eef7a41..e16850efbe 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala @@ -463,6 +463,6 @@ trait Row extends Serializable { * @throws NullPointerException when value is null. */ private def getAnyValAs[T <: AnyVal](i: Int): T = - if (isNullAt(i)) throw new NullPointerException(s"Value at index $i in null") + if (isNullAt(i)) throw new NullPointerException(s"Value at index $i is null") else getAs[T](i) } |