Skip to content
Snippets Groups Projects
Commit 94e040d0 authored by Kousuke Saruta's avatar Kousuke Saruta Committed by Reynold Xin
Browse files

[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
parent 492dca3a
No related branches found
No related tags found
No related merge requests found
...@@ -682,7 +682,6 @@ class DataFrame private[sql]( ...@@ -682,7 +682,6 @@ class DataFrame private[sql](
* // The following are equivalent: * // The following are equivalent:
* peopleDf.filter($"age" > 15) * peopleDf.filter($"age" > 15)
* peopleDf.where($"age" > 15) * peopleDf.where($"age" > 15)
* peopleDf($"age" > 15)
* }}} * }}}
* @group dfops * @group dfops
* @since 1.3.0 * @since 1.3.0
...@@ -707,7 +706,6 @@ class DataFrame private[sql]( ...@@ -707,7 +706,6 @@ class DataFrame private[sql](
* // The following are equivalent: * // The following are equivalent:
* peopleDf.filter($"age" > 15) * peopleDf.filter($"age" > 15)
* peopleDf.where($"age" > 15) * peopleDf.where($"age" > 15)
* peopleDf($"age" > 15)
* }}} * }}}
* @group dfops * @group dfops
* @since 1.3.0 * @since 1.3.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment