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

Function plan_builder_empty_name

datafusion/expr/src/logical_plan/builder.rs:2341–2350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2339
2340 #[test]
2341 fn plan_builder_empty_name() {
2342 let schema = employee_schema();
2343 let projection = None;
2344 let err =
2345 LogicalPlanBuilder::scan("", table_source(&schema), projection).unwrap_err();
2346 assert_snapshot!(
2347 err.strip_backtrace(),
2348 @"Error during planning: table_name cannot be empty"
2349 );
2350 }
2351
2352 #[test]
2353 fn plan_builder_sort() -> Result<()> {

Callers

nothing calls this directly

Calls 4

table_sourceFunction · 0.85
unwrap_errMethod · 0.80
employee_schemaFunction · 0.70
scanFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…