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

Method on_columns

datafusion/core/tests/fuzz_cases/join_fuzz.rs:683–696  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

681 }
682
683 fn on_columns(&self) -> Vec<(PhysicalExprRef, PhysicalExprRef)> {
684 let schema1 = self.input1[0].schema();
685 let schema2 = self.input2[0].schema();
686 vec![
687 (
688 Arc::new(Column::new_with_schema("a", &schema1).unwrap()) as _,
689 Arc::new(Column::new_with_schema("a", &schema2).unwrap()) as _,
690 ),
691 (
692 Arc::new(Column::new_with_schema("b", &schema1).unwrap()) as _,
693 Arc::new(Column::new_with_schema("b", &schema2).unwrap()) as _,
694 ),
695 ]
696 }
697
698 /// Helper function for building NLJoin filter, returning intermediate
699 /// schema as a union of origin filter intermediate schema and

Callers 2

sort_merge_joinMethod · 0.45
hash_joinMethod · 0.45

Calls 1

schemaMethod · 0.45

Tested by

no test coverage detected