nuno-faria commented on code in PR #19316:
URL: https://github.com/apache/datafusion/pull/19316#discussion_r3004961887
##########
datafusion/core/src/execution/session_state.rs:
##########
@@ -1503,6 +1516,7 @@ impl SessionStateBuilder {
function_factory,
cache_factory,
prepared_plans: HashMap::new(),
+ plan_observer: Some(Arc::new(DefaultPlanObserver::default())),
Review Comment:
Ideally yes, but then as far as I'm aware the user wouldn't be able to turn
on the default `auto_explain` without also having to first set a
`plan_observer`. But if it is better that way I can set it to None, let me know.
--
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]