mbutrovich commented on code in PR #4597: URL: https://github.com/apache/datafusion-comet/pull/4597#discussion_r3363085583
########## docs/source/user-guide/latest/understanding-comet-plans.md: ########## @@ -138,6 +138,51 @@ operators were arranged after Comet's serialization). See the [Metrics Guide](metrics.md) for details on the native metrics that appear in this output. +## Programmatic Access to Fallback Reasons + +The configs above route fallback reasons to logs or the SQL UI. If you want +the reasons for a specific query as data — for example, to assert in a test +or to drive a custom report — use `org.apache.comet.ExtendedExplainInfo` +directly. It is the same class that backs `spark.comet.explain.format`, and +it works on any Spark version because it does not rely on the Spark 4.0 Review Comment: ```suggestion it works on any supported Spark version because it does not rely on the Spark 4.0+ ``` -- 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]
