aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorKousuke Saruta <sarutak@oss.nttdata.co.jp>2015-06-29 12:16:12 -0700
committerReynold Xin <rxin@databricks.com>2015-06-29 12:16:44 -0700
commitda51cf58fcdc7a094590d267f3ce779d91fea6e6 (patch)
tree7a80e6b1500029fce4b60fb7a70b25edd71dc972 /sql
parentf7c200e6ac4eee8eff5db8e6da58b046c32ea6df (diff)
downloadspark-da51cf58fcdc7a094590d267f3ce779d91fea6e6.tar.gz
spark-da51cf58fcdc7a094590d267f3ce779d91fea6e6.tar.bz2
spark-da51cf58fcdc7a094590d267f3ce779d91fea6e6.zip
[SQL][DOCS] Remove wrong example from DataFrame.scala
In DataFrame.scala, there are examples like as follows. ``` * // The following are equivalent: * peopleDf.filter($"age" > 15) * peopleDf.where($"age" > 15) * peopleDf($"age" > 15) ``` But, I think the last example doesn't work. Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp> Closes #6977 from sarutak/fix-dataframe-example and squashes the following commits: 46efbd7 [Kousuke Saruta] Removed wrong example (cherry picked from commit 94e040d05996111b2b448bcdee1cda184c6d039b) Signed-off-by: Reynold Xin <rxin@databricks.com>
Diffstat (limited to 'sql')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala b/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
index 29bba18d3c..0b7613853d 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
@@ -633,7 +633,6 @@ class DataFrame private[sql](
* // The following are equivalent:
* peopleDf.filter($"age" > 15)
* peopleDf.where($"age" > 15)
- * peopleDf($"age" > 15)
* }}}
* @group dfops
* @since 1.3.0
@@ -658,7 +657,6 @@ class DataFrame private[sql](
* // The following are equivalent:
* peopleDf.filter($"age" > 15)
* peopleDf.where($"age" > 15)
- * peopleDf($"age" > 15)
* }}}
* @group dfops
* @since 1.3.0