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:12 -0700
commit94e040d05996111b2b448bcdee1cda184c6d039b (patch)
tree0eb630d09db813ac6b820e25f238ea01c828db00 /sql
parent492dca3a73e70705b5d5639e8fe4640b80e78d31 (diff)
downloadspark-94e040d05996111b2b448bcdee1cda184c6d039b.tar.gz
spark-94e040d05996111b2b448bcdee1cda184c6d039b.tar.bz2
spark-94e040d05996111b2b448bcdee1cda184c6d039b.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
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 d75d883075..986e591339 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
@@ -682,7 +682,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
@@ -707,7 +706,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