datafusion_common

Function aggregate_functional_dependencies

Source
pub fn aggregate_functional_dependencies(
    aggr_input_schema: &DFSchema,
    group_by_expr_names: &[String],
    aggr_schema: &DFSchema,
) -> FunctionalDependencies
Expand description

Calculates functional dependencies for aggregate output, when there is a GROUP BY expression.