aboutsummaryrefslogtreecommitdiff
path: root/sql/catalyst/src
diff options
context:
space:
mode:
authorJacek Laskowski <jacek@japila.pl>2016-04-26 11:51:12 +0100
committerSean Owen <sowen@cloudera.com>2016-04-26 11:51:12 +0100
commitb208229ba1768ee72eae7b6b0da0ac9ccff3be62 (patch)
tree91f9b31a53a04b246695f54b64a2142f34ad7dd7 /sql/catalyst/src
parentde6e633420aba1fe5d806a2725a95e610699ae7d (diff)
downloadspark-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.scala2
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.")