Skip to content

Commit d81f998

Browse files
committed
include schema for binding.
1 parent 0e889e8 commit d81f998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/SparkPlan.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ abstract class SparkPlan extends QueryPlan[SparkPlan] with Logging {
5353
def executeCollect(): Array[Row] = execute().map(_.copy()).collect()
5454

5555
def newProjection(expressions: Seq[Expression], inputSchema: Seq[Attribute]): Projection =
56-
GenerateProjection(expressions)
56+
GenerateProjection(expressions, inputSchema)
5757

5858
def newMutableProjection(
5959
expressions: Seq[Expression],
6060
inputSchema: Seq[Attribute]): () => MutableProjection = {
61-
GenerateMutableProjection(expressions)
61+
GenerateMutableProjection(expressions, inputSchema)
6262
}
6363

6464

0 commit comments

Comments
 (0)