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>,
)
| 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 | /// |
no test coverage detected