diff options
author | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2015-06-29 12:16:12 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-06-29 12:16:12 -0700 |
commit | 94e040d05996111b2b448bcdee1cda184c6d039b (patch) | |
tree | 0eb630d09db813ac6b820e25f238ea01c828db00 | |
parent | 492dca3a73e70705b5d5639e8fe4640b80e78d31 (diff) | |
download | spark-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
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala | 2 |
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 |