MCPcopy Create free account
hub / github.com/apache/datafusion / with_current_time

Method with_current_time

datafusion/expr/src/simplify.rs:105–108  ·  view source on GitHub ↗

Set the query execution start to the current time

(mut self)

Source from the content-addressed store, hash-verified

103 )]
104 /// Set the query execution start to the current time
105 pub fn with_current_time(mut self) -> Self {
106 self.query_execution_start_time = Some(Utc::now());
107 self
108 }
109
110 /// Returns the schema
111 pub fn schema(&self) -> &DFSchemaRef {

Callers 2

simplify_demoFunction · 0.80
type_coercion_demoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected