diff options
author | Liang-Chi Hsieh <viirya@gmail.com> | 2015-05-05 14:44:02 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-05-05 14:44:02 +0100 |
commit | b83091ae4589feea78b056827bc3b7659d271e41 (patch) | |
tree | 3148b02c367db2b33088b20ed501dc838392d6f5 /sql/catalyst | |
parent | d49735800db27239c11478aac4b0f2ec9df91a3f (diff) | |
download | spark-b83091ae4589feea78b056827bc3b7659d271e41.tar.gz spark-b83091ae4589feea78b056827bc3b7659d271e41.tar.bz2 spark-b83091ae4589feea78b056827bc3b7659d271e41.zip |
[MINOR] Minor update for document
Two minor doc errors in `BytesToBytesMap` and `UnsafeRow`.
Author: Liang-Chi Hsieh <viirya@gmail.com>
Closes #5906 from viirya/minor_doc and squashes the following commits:
27f9089 [Liang-Chi Hsieh] Minor update for doc.
Diffstat (limited to 'sql/catalyst')
-rw-r--r-- | sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java b/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java index 0a358ed408..bb546b3086 100644 --- a/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java +++ b/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java @@ -145,7 +145,7 @@ public final class UnsafeRow implements MutableRow { private void assertIndexIsValid(int index) { assert index >= 0 : "index (" + index + ") should >= 0"; - assert index < numFields : "index (" + index + ") should <= " + numFields; + assert index < numFields : "index (" + index + ") should < " + numFields; } @Override |