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

Method format_events

datafusion/datasource/src/morsel/mocks.rs:184–192  ·  view source on GitHub ↗

Formats all recorded events into a stable, snapshot-friendly trace.

(&self)

Source from the content-addressed store, hash-verified

182
183 /// Formats all recorded events into a stable, snapshot-friendly trace.
184 pub(crate) fn format_events(&self) -> String {
185 self.events
186 .lock()
187 .unwrap()
188 .iter()
189 .map(ToString::to_string)
190 .collect::<Vec<_>>()
191 .join("\n")
192 }
193}
194
195/// Declarative planner spec used by the mock morselizer.

Callers 1

runMethod · 0.80

Calls 3

joinMethod · 0.45
mapMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected