aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2015-06-01 21:41:53 -0700
committerReynold Xin <rxin@databricks.com>2015-06-01 21:41:53 -0700
commitb53a0116473a03607c5be3e4135151b4932acc06 (patch)
treeaab2cc9a73cd8570ba3a4f1d3e522ae20b35a6e7 /sql
parente797dba58e8cafdd30683dd1e0263f00ce30ccc0 (diff)
downloadspark-b53a0116473a03607c5be3e4135151b4932acc06.tar.gz
spark-b53a0116473a03607c5be3e4135151b4932acc06.tar.bz2
spark-b53a0116473a03607c5be3e4135151b4932acc06.zip
Fixed typo in the previous commit.
Diffstat (limited to 'sql')
-rw-r--r--sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
index 8e9fec7070..bc17169f35 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
@@ -647,7 +647,7 @@ class Analyzer(
* From a Seq of [[NamedExpression]]s, extract expressions containing window expressions and
* other regular expressions that do not contain any window expression. For example, for
* `col1, Sum(col2 + col3) OVER (PARTITION BY col4 ORDER BY col5)`, we will extract
- * `col1`, `col2 + col3`, `col4`, and `col5` out and replace them appearances in
+ * `col1`, `col2 + col3`, `col4`, and `col5` out and replace their appearances in
* the window expression as attribute references. So, the first returned value will be
* `[Sum(_w0) OVER (PARTITION BY _w1 ORDER BY _w2)]` and the second returned value will be
* [col1, col2 + col3 as _w0, col4 as _w1, col5 as _w2].