Skip to content

Commit

Permalink
[CORE] Fix ExpandExecTransformer miss input (#3665)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you authored Nov 10, 2023
1 parent bd483c9 commit 797770d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ case class ExpandExecTransformer(
@transient override lazy val metrics =
BackendsApiManager.getMetricsApiInstance.genExpandTransformerMetrics(sparkContext)

val originalInputAttributes: Seq[Attribute] = child.output
@transient
override lazy val references: AttributeSet = {
AttributeSet.fromAttributeSets(projections.flatten.map(_.references))
}

override def metricsUpdater(): MetricsUpdater =
BackendsApiManager.getMetricsApiInstance.genExpandTransformerMetricsUpdater(metrics)
Expand Down

0 comments on commit 797770d

Please sign in to comment.