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

Function test_table_scan_with_name

datafusion/expr/src/logical_plan/builder.rs:2603–2610  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

2601 }
2602
2603 fn test_table_scan_with_name(name: &str) -> Result<LogicalPlan> {
2604 let schema = Schema::new(vec![
2605 Field::new("a", DataType::UInt32, false),
2606 Field::new("b", DataType::UInt32, false),
2607 Field::new("c", DataType::UInt32, false),
2608 ]);
2609 table_scan(Some(name), &schema, None)?.build()
2610 }
2611
2612 #[test]
2613 fn plan_builder_intersect_different_num_columns_error() -> Result<()> {

Callers 3

exists_subqueryFunction · 0.70
filter_in_subqueryFunction · 0.70
select_scalar_subqueryFunction · 0.70

Calls 3

newFunction · 0.85
table_scanFunction · 0.85
buildMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…