diff options
author | Jacek Laskowski <jacek@japila.pl> | 2016-04-26 11:51:12 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-04-26 11:51:12 +0100 |
commit | b208229ba1768ee72eae7b6b0da0ac9ccff3be62 (patch) | |
tree | 91f9b31a53a04b246695f54b64a2142f34ad7dd7 /sql/catalyst/src | |
parent | de6e633420aba1fe5d806a2725a95e610699ae7d (diff) | |
download | spark-b208229ba1768ee72eae7b6b0da0ac9ccff3be62.tar.gz spark-b208229ba1768ee72eae7b6b0da0ac9ccff3be62.tar.bz2 spark-b208229ba1768ee72eae7b6b0da0ac9ccff3be62.zip |
[MINOR][DOCS] Minor typo fixes
## What changes were proposed in this pull request?
Minor typo fixes (too minor to deserve separate a JIRA)
## How was this patch tested?
local build
Author: Jacek Laskowski <jacek@japila.pl>
Closes #12469 from jaceklaskowski/minor-typo-fixes.
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 1219d4d453..726291b96c 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 @@ -338,7 +338,7 @@ trait Row extends Serializable { * Returns the index of a given field name. * * @throws UnsupportedOperationException when schema is not defined. - * @throws IllegalArgumentException when fieldName do not exist. + * @throws IllegalArgumentException when a field `name` does not exist. */ def fieldIndex(name: String): Int = { throw new UnsupportedOperationException("fieldIndex on a Row without schema is undefined.") |