Re: Why Filter return a DataFrame object in DataFrame.scala?

2015-09-22 Thread qiuhai
Thank you very much -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Why-Filter-return-a-DataFrame-object-in-DataFrame-scala-tp14295p14298.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com. -

Why Filter return a DataFrame object in DataFrame.scala?

2015-09-22 Thread qiuhai
Hi, Recently,I am reading source code(1.5 version) about sparksql .  In DataFrame.scala, there is a funtion named filter in the 737 row *def filter(condition: Column): DataFrame = Filter(condition.expr, logicalPlan)* The fucntion return a Filter object,but it require a DataFrame