pub trait OptimizerConfig {
// Required methods
fn query_execution_start_time(&self) -> DateTime<Utc>;
fn alias_generator(&self) -> &Arc<AliasGenerator>;
fn options(&self) -> &ConfigOptions;
// Provided method
fn function_registry(&self) -> Option<&dyn FunctionRegistry> { ... }
}
Expand description
Options to control the DataFusion Optimizer.
Required Methods§
Sourcefn query_execution_start_time(&self) -> DateTime<Utc>
fn query_execution_start_time(&self) -> DateTime<Utc>
Return the time at which the query execution started. This time is used as the value for now()
Sourcefn alias_generator(&self) -> &Arc<AliasGenerator>
fn alias_generator(&self) -> &Arc<AliasGenerator>
Return alias generator used to generate unique aliases for subqueries