Skip to content

Commit e971078

Browse files
committed
Missing quotes.
1 parent b9306b4 commit e971078

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ class DataFrame protected[sql](
294294
* // The following are equivalent:
295295
* peopleDf.filter($"age" > 15)
296296
* peopleDf.where($"age" > 15)
297-
* peopleDf($"age > 15)
297+
* peopleDf($"age" > 15)
298298
* }}}
299299
*/
300300
override def filter(condition: Column): DataFrame = {
@@ -307,7 +307,7 @@ class DataFrame protected[sql](
307307
* // The following are equivalent:
308308
* peopleDf.filter($"age" > 15)
309309
* peopleDf.where($"age" > 15)
310-
* peopleDf($"age > 15)
310+
* peopleDf($"age" > 15)
311311
* }}}
312312
*/
313313
override def where(condition: Column): DataFrame = filter(condition)
@@ -318,7 +318,7 @@ class DataFrame protected[sql](
318318
* // The following are equivalent:
319319
* peopleDf.filter($"age" > 15)
320320
* peopleDf.where($"age" > 15)
321-
* peopleDf($"age > 15)
321+
* peopleDf($"age" > 15)
322322
* }}}
323323
*/
324324
override def apply(condition: Column): DataFrame = filter(condition)

0 commit comments

Comments
 (0)