igreenfield opened a new pull request, #44917: URL: https://github.com/apache/spark/pull/44917
### What changes were proposed in this pull request? Adding ability to inject LogicalPlan statistics visitor. added a new interface: `LogicalPlanStatisticsVisitor` so the generic will not be in the user interface. ### Why are the changes needed? the statistics calc does not cover all use cases so if a user has use-case the is not covered or produces incorrect prediction it can be changed. ### Does this PR introduce _any_ user-facing change? it adds new configuration: `spark.sql.cbo.planStats.class` and `spark.sql.planStats.class` ### How was this patch tested? with current tests. ### Was this patch authored or co-authored using generative AI tooling? No -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
