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

Method run

datafusion-examples/examples/sql_ops/main.rs:68–84  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

66 }
67
68 async fn run(&self) -> Result<()> {
69 match self {
70 ExampleKind::All => {
71 for example in ExampleKind::runnable() {
72 println!("Running example: {example}");
73 Box::pin(example.run()).await?;
74 }
75 }
76 ExampleKind::Analysis => analysis::analysis().await?,
77 ExampleKind::CustomSqlParser => {
78 custom_sql_parser::custom_sql_parser().await?
79 }
80 ExampleKind::Frontend => frontend::frontend()?,
81 ExampleKind::Query => query::query().await?,
82 }
83 Ok(())
84 }
85}
86
87#[tokio::main]

Callers 1

mainFunction · 0.45

Calls 4

analysisFunction · 0.85
custom_sql_parserFunction · 0.85
frontendFunction · 0.85
queryFunction · 0.70

Tested by

no test coverage detected