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

Method join

datafusion/expr/src/logical_plan/builder.rs:928–942  ·  view source on GitHub ↗

Apply a join to `right` using explicitly specified columns and an optional filter expression. See [`join_on`](Self::join_on) for a more concise way to specify the join condition. Since DataFusion will automatically identify and optimize equality predicates there is no performance difference between this function and `join_on` `left_cols` and `right_cols` are used to form "equijoin" predicates (s

(
        self,
        right: LogicalPlan,
        join_type: JoinType,
        join_keys: (Vec<impl Into<Column>>, Vec<impl Into<Column>>),
        filter: Option<Expr>,
    )

Source from the content-addressed store, hash-verified

926 ///
927 /// Note that in case of outer join, the `filter` is applied to only matched rows.
928 pub fn join(
929 self,
930 right: LogicalPlan,
931 join_type: JoinType,
932 join_keys: (Vec<impl Into<Column>>, Vec<impl Into<Column>>),
933 filter: Option<Expr>,
934 ) -> Result<Self> {
935 self.join_detailed(
936 right,
937 join_type,
938 join_keys,
939 filter,
940 NullEquality::NullEqualsNothing,
941 )
942 }
943
944 /// Apply a join using the specified expressions.
945 ///

Callers 10

display_comma_separatedFunction · 0.45
to_json_valueMethod · 0.45
fmtMethod · 0.45
create_test_joinFunction · 0.45
build_join_schemaFunction · 0.45
join_typesMethod · 0.45
config_entriesMethod · 0.45
report_topMethod · 0.45

Calls 1

join_detailedMethod · 0.80

Tested by

no test coverage detected