Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
join_allows_pushdown in datafusion::physical_plan::projection - Rust
[go: Go Back, main page]

Function join_allows_pushdown

Source
pub fn join_allows_pushdown(
    projection_as_columns: &[(Column, String)],
    join_schema: &Arc<Schema>,
    far_right_left_col_ind: i32,
    far_left_right_col_ind: i32,
) -> bool
Expand description

Checks three conditions for pushing a projection down through a join:

  • Projection must narrow the join output schema.
  • Columns coming from left/right tables must be collected at the left/right sides of the output table.
  • Left or right table is not lost after the projection.