Skip to content

Commit a0d42ed

Browse files
authored
docs: Clarify join behavior in DataFrame::join docs (#14393)
1 parent c33cb85 commit a0d42ed

File tree

1 file changed

+3
-1
lines changed
  • datafusion/core/src/dataframe

1 file changed

+3
-1
lines changed

datafusion/core/src/dataframe/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,9 @@ impl DataFrame {
10041004
///
10051005
/// `left_cols` and `right_cols` are used to form "equijoin" predicates (see
10061006
/// example below), which are then combined with the optional `filter`
1007-
/// expression.
1007+
/// expression. If `left_cols` and `right_cols` contain ambiguous column
1008+
/// references, they will be disambiguated by prioritizing the left relation
1009+
/// for `left_cols` and the right relation for `right_cols`.
10081010
///
10091011
/// Note that in case of outer join, the `filter` is applied to only matched rows.
10101012
///

0 commit comments

Comments
 (0)