Struct datafusion_expr::Join
source · pub struct Join {
pub left: Arc<LogicalPlan>,
pub right: Arc<LogicalPlan>,
pub on: Vec<(Expr, Expr)>,
pub filter: Option<Expr>,
pub join_type: JoinType,
pub join_constraint: JoinConstraint,
pub schema: DFSchemaRef,
pub null_equals_null: bool,
}Expand description
Join two logical plans on one or more join columns
Fields§
§left: Arc<LogicalPlan>Left input
right: Arc<LogicalPlan>Right input
on: Vec<(Expr, Expr)>Equijoin clause expressed as pairs of (left, right) join expressions
filter: Option<Expr>Filters applied during join (non-equi conditions)
join_type: JoinTypeJoin type
join_constraint: JoinConstraintJoin constraint
schema: DFSchemaRefThe output schema, containing fields from the left and right inputs
null_equals_null: boolIf null_equals_null is true, null == null else null != null
Implementations§
source§impl Join
impl Join
sourcepub fn try_new_with_project_input(
original: &LogicalPlan,
left: Arc<LogicalPlan>,
right: Arc<LogicalPlan>,
column_on: (Vec<Column>, Vec<Column>)
) -> Result<Self, DataFusionError>
pub fn try_new_with_project_input(
original: &LogicalPlan,
left: Arc<LogicalPlan>,
right: Arc<LogicalPlan>,
column_on: (Vec<Column>, Vec<Column>)
) -> Result<Self, DataFusionError>
Create Join with input which wrapped with projection, this method is used to help create physical join.