There is an implicit conversion in scope

   * An implicit conversion function internal to this class for us to avoid doing
   * "new DataFrame(...)" everywhere.
  @inline private implicit def logicalPlanToDataFrame(logicalPlan: LogicalPlan): DataFrame = {
    new DataFrame(sqlContext, logicalPlan)

On Tue, Sep 22, 2015 at 10:57 PM, qiuhai <> wrote:
  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,

  The fucntion return  a Filter object,but it require a DataFrame object.


View this message in context:
Sent from the Apache Spark Developers List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail: