Function assert_expected_schema

Source
pub fn assert_expected_schema(
    schema: &Arc<DFSchema>,
    plan: &LogicalPlan,
) -> Result<(), DataFusionError>
Expand description

Returns an error if the plan does not have the expected schema. Ignores metadata and nullability.