aboutsummaryrefslogtreecommitdiff
path: root/sql/core
diff options
context:
space:
mode:
authorAndrew Ash <andrew@andrewash.com>2016-08-10 10:09:35 +0100
committerSean Owen <sowen@cloudera.com>2016-08-10 10:09:35 +0100
commitbfda53f63a31bf2e8b72ab9e85896a4bec1644e8 (patch)
treede03a66d3c41db385c3073efe9de493e05d7fb62 /sql/core
parent2b10ebe6ac1cdc2c723cb47e4b88cfbf39e0de08 (diff)
downloadspark-bfda53f63a31bf2e8b72ab9e85896a4bec1644e8.tar.gz
spark-bfda53f63a31bf2e8b72ab9e85896a4bec1644e8.tar.bz2
spark-bfda53f63a31bf2e8b72ab9e85896a4bec1644e8.zip
Typo: Fow -> For
Author: Andrew Ash <andrew@andrewash.com> Closes #14563 from ash211/patch-8.
Diffstat (limited to 'sql/core')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/functions.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
index 93af8456c4..81f6ed75e6 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
@@ -820,7 +820,7 @@ object functions {
/**
* Window function: returns the ntile group id (from 1 to `n` inclusive) in an ordered window
- * partition. Fow example, if `n` is 4, the first quarter of the rows will get value 1, the second
+ * partition. For example, if `n` is 4, the first quarter of the rows will get value 1, the second
* quarter will get 2, the third quarter will get 3, and the last quarter will get 4.
*
* This is equivalent to the NTILE function in SQL.