From e971078431a667a5993eca8279bef77f31ed8d16 Mon Sep 17 00:00:00 2001 From: Reynold Xin Date: Tue, 27 Jan 2015 00:47:18 -0800 Subject: [PATCH] Missing quotes. --- .../src/main/scala/org/apache/spark/sql/DataFrame.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 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 47cc40f40f9c2..dad36864b923e 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 @@ -294,7 +294,7 @@ class DataFrame protected[sql]( * // The following are equivalent: * peopleDf.filter($"age" > 15) * peopleDf.where($"age" > 15) - * peopleDf($"age > 15) + * peopleDf($"age" > 15) * }}} */ override def filter(condition: Column): DataFrame = { @@ -307,7 +307,7 @@ class DataFrame protected[sql]( * // The following are equivalent: * peopleDf.filter($"age" > 15) * peopleDf.where($"age" > 15) - * peopleDf($"age > 15) + * peopleDf($"age" > 15) * }}} */ override def where(condition: Column): DataFrame = filter(condition) @@ -318,7 +318,7 @@ class DataFrame protected[sql]( * // The following are equivalent: * peopleDf.filter($"age" > 15) * peopleDf.where($"age" > 15) - * peopleDf($"age > 15) + * peopleDf($"age" > 15) * }}} */ override def apply(condition: Column): DataFrame = filter(condition)