maropu commented on a change in pull request #32309:
URL: https://github.com/apache/spark/pull/32309#discussion_r652270280
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/BasicStatsPlanVisitor.scala
##########
@@ -81,9 +81,9 @@ object BasicStatsPlanVisitor extends
LogicalPlanVisitor[Statistics] {
ProjectEstimation.estimate(p).getOrElse(fallback(p))
}
- override def visitRepartition(p: Repartition): Statistics = default(p)
+ override def visitRepartition(p: Repartition): Statistics = fallback(p)
Review comment:
Q: we need to fall back into the size-based one instead of just calling
`p.child.stats`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]