spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qiuhai <986775...@qq.com>
Subject Why Filter return a DataFrame object in DataFrame.scala?
Date Wed, 23 Sep 2015 05:57:33 GMT
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 object.


  thanks.



--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Why-Filter-return-a-DataFrame-object-in-DataFrame-scala-tp14295.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org


Mime
View raw message