Skip to content

Commit

Permalink
include schema for binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Jul 9, 2014
1 parent 0e889e8 commit d81f998
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ abstract class SparkPlan extends QueryPlan[SparkPlan] with Logging {
def executeCollect(): Array[Row] = execute().map(_.copy()).collect()

def newProjection(expressions: Seq[Expression], inputSchema: Seq[Attribute]): Projection =
GenerateProjection(expressions)
GenerateProjection(expressions, inputSchema)

def newMutableProjection(
expressions: Seq[Expression],
inputSchema: Seq[Attribute]): () => MutableProjection = {
GenerateMutableProjection(expressions)
GenerateMutableProjection(expressions, inputSchema)
}


Expand Down

0 comments on commit d81f998

Please sign in to comment.