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

Method run

datafusion-examples/examples/execution_monitoring/main.rs:63–80  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

61 }
62
63 async fn run(&self) -> Result<()> {
64 match self {
65 ExampleKind::All => {
66 for example in ExampleKind::runnable() {
67 println!("Running example: {example}");
68 Box::pin(example.run()).await?;
69 }
70 }
71 ExampleKind::MemPoolExecPlan => {
72 memory_pool_execution_plan::memory_pool_execution_plan().await?
73 }
74 ExampleKind::MemPoolTracking => {
75 memory_pool_tracking::mem_pool_tracking().await?
76 }
77 ExampleKind::Tracing => tracing::tracing().await?,
78 }
79 Ok(())
80 }
81}
82
83#[tokio::main]

Callers 1

mainFunction · 0.45

Calls 3

mem_pool_trackingFunction · 0.85
tracingFunction · 0.85

Tested by

no test coverage detected