Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Harris <[email protected]>
  • Loading branch information
avantgardnerio and thinkharderdev authored Oct 7, 2024
1 parent 6008c0f commit d18c05b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions datafusion/physical-plan/src/execution_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -903,10 +903,17 @@ pub fn get_plan_string(plan: &Arc<dyn ExecutionPlan>) -> Vec<String> {
actual.iter().map(|elem| elem.to_string()).collect()
}

/// Indicates the effect an execution plan operator will have on the cardinality
/// of its input stream
pub enum CardinalityEffect {
/// Unknown effect. This is the default
Unknown,
/// The operator is guaranteed to produce exactly one row for
/// each input row
Equal,
/// The operator may produce fewer output rows than it receives input rows
LowerEqual,
/// The operator may produce more output rows than it receives input rows
GreaterEqual,
}

Expand Down

0 comments on commit d18c05b

Please sign in to comment.