Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix panic with empty delta scan, or empty parquet scan with a provided schema #19884

Merged
merged 12 commits into from
Nov 21, 2024
Merged
Prev Previous commit
Next Next commit
c
  • Loading branch information
nameexhaustion committed Nov 21, 2024
commit 24d1c78c589abb02cecb7d8e80255182ec8a00b4
2 changes: 1 addition & 1 deletion crates/polars-plan/src/plans/conversion/dsl_to_ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ pub fn to_alp_impl(lp: DslPlan, ctxt: &mut DslConversionContext) -> PolarsResult
};

if file_options.hive_options.enabled.is_none() {
// TODO: Auto-enable this based on whether we received a hive schema.
// TODO: Auto-enable this if `hive_options.schema` was given.
file_options.hive_options.enabled = Some(false);
}

Expand Down