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

Function main

datafusion-cli/examples/cli-session-context.rs:86–98  ·  view source on GitHub ↗

Runs the example.

()

Source from the content-addressed store, hash-verified

84#[tokio::main]
85/// Runs the example.
86pub async fn main() {
87 let my_ctx = MyUnionerContext::default();
88
89 let mut print_options = PrintOptions {
90 format: datafusion_cli::print_format::PrintFormat::Automatic,
91 quiet: false,
92 maxrows: datafusion_cli::print_options::MaxRows::Unlimited,
93 color: true,
94 instrumented_registry: Arc::new(InstrumentedObjectStoreRegistry::new()),
95 };
96
97 exec_from_repl(&my_ctx, &mut print_options).await.unwrap();
98}

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
exec_from_replFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…