You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/10/13 05:51:54 UTC

spark git commit: minor doc fix for Row.scala

Repository: spark
Updated Branches:
  refs/heads/master 064d6650e -> 7222a25a1


minor doc fix for Row.scala

## What changes were proposed in this pull request?

minor doc fix for "getAnyValAs" in class Row

## How was this patch tested?

None.

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Author: buzhihuojie <re...@gmail.com>

Closes #15452 from david-weiluo-ren/minorDocFixForRow.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7222a25a
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7222a25a
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7222a25a

Branch: refs/heads/master
Commit: 7222a25a11790fa9d9d1428c84b6f827a785c9e8
Parents: 064d665
Author: buzhihuojie <re...@gmail.com>
Authored: Wed Oct 12 22:51:54 2016 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Wed Oct 12 22:51:54 2016 -0700

----------------------------------------------------------------------
 sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/7222a25a/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
----------------------------------------------------------------------
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 344dcb9..65f9142 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
@@ -462,7 +462,7 @@ trait Row extends Serializable {
   def mkString(start: String, sep: String, end: String): String = toSeq.mkString(start, sep, end)
 
   /**
-   * Returns the value of a given fieldName.
+   * Returns the value at position i.
    *
    * @throws UnsupportedOperationException when schema is not defined.
    * @throws ClassCastException when data type does not match.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org