We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e889e8 commit d81f998Copy full SHA for d81f998
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkPlan.scala
@@ -53,12 +53,12 @@ abstract class SparkPlan extends QueryPlan[SparkPlan] with Logging {
53
def executeCollect(): Array[Row] = execute().map(_.copy()).collect()
54
55
def newProjection(expressions: Seq[Expression], inputSchema: Seq[Attribute]): Projection =
56
- GenerateProjection(expressions)
+ GenerateProjection(expressions, inputSchema)
57
58
def newMutableProjection(
59
expressions: Seq[Expression],
60
inputSchema: Seq[Attribute]): () => MutableProjection = {
61
- GenerateMutableProjection(expressions)
+ GenerateMutableProjection(expressions, inputSchema)
62
}
63
64
0 commit comments