Spark sql, why fallback to SizeInBytesOnlyStatsPlanVisitor when visitWithCTE in BasicStatsPlanVisitor?

12 Views Asked by At

I'm wondering why visiting WithCTE will fallback to SizeInBytesOnlyStatsPlanVisitor. This will absolutely reduce precision of estimation. I'm reading the github apache spark code, but still cannot figure out why. Can anyone help me?

apache spark, master branch, BasicStatsPlanVisitor.scala

0

There are 0 best solutions below