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

Function create_context

datafusion/core/benches/csv_load.rs:43–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43fn create_context() -> Result<Arc<Mutex<SessionContext>>> {
44 let ctx = SessionContext::new();
45 Ok(Arc::new(Mutex::new(ctx)))
46}
47
48fn generate_test_file() -> TestCsvFile {
49 let write_location = std::env::current_dir()

Callers 2

criterion_benchmarkFunction · 0.70
run_roundtrip_testsFunction · 0.50

Calls 1

newFunction · 0.85

Tested by 1

run_roundtrip_testsFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…