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

Function new

datafusion/optimizer/src/test/user_defined.rs:31–34  ·  view source on GitHub ↗

Create a new user defined plan node, for testing

(input: LogicalPlan)

Source from the content-addressed store, hash-verified

29
30/// Create a new user defined plan node, for testing
31pub fn new(input: LogicalPlan) -> LogicalPlan {
32 let node = Arc::new(TestUserDefinedPlanNode { input });
33 LogicalPlan::Extension(Extension { node })
34}
35
36#[derive(PartialEq, Eq, PartialOrd, Hash)]
37struct TestUserDefinedPlanNode {

Callers 15

schemaMethod · 0.85
defaultMethod · 0.85
tpch_schemasFunction · 0.85
random_binaryFunction · 0.85
mainFunction · 0.85
write_csv_to_parquetFunction · 0.85
schemaFunction · 0.85
schemaFunction · 0.85
discover_example_groupsFunction · 0.85

Calls 1

ExtensionClass · 0.85

Tested by

no test coverage detected