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 56a8e6e commit 5bf5586Copy full SHA for 5bf5586
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala
@@ -29,8 +29,8 @@ abstract class LogicalPlan extends QueryPlan[LogicalPlan] {
29
protected class Estimates {
30
lazy val childrenEstimations = children.map(_.estimates)
31
lazy val cardinality: Long = childrenEstimations.map(_.cardinality).sum
32
- lazy val numTuples: Long = childrenEstimations.map(_.size).sum
33
- lazy val size: Long = childrenEstimations.map(_.numTuples).sum
+ lazy val numTuples: Long = childrenEstimations.map(_.numTuples).sum
+ lazy val size: Long = childrenEstimations.map(_.size).sum
34
}
35
36
/**
0 commit comments