tustvold commented on code in PR #4775:
URL: https://github.com/apache/arrow-datafusion/pull/4775#discussion_r1059416624
##########
datafusion/core/src/execution/context.rs:
##########
@@ -1897,6 +1874,35 @@ impl FunctionRegistry for SessionState {
}
}
+impl OptimizerConfig for SessionState {
+ fn query_execution_start_time(&self) -> DateTime<Utc> {
+ self.execution_props.query_execution_start_time
+ }
+
+ fn rule_enabled(&self, name: &str) -> bool {
Review Comment:
I eventually hope to move `ConfigOptions` into common, which will allow
simplifying this
--
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]