Skip to content

Commit

Permalink
feat: IR Serde cross-filter (#21488)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Feb 27, 2025
1 parent bee578b commit 828a1e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion crates/polars-mem-engine/src/executors/scan/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ impl IpcExec {
polars_io::pl_async::get_runtime().block_on_potential_spawn(self.read_async())?
})
} else {
self.read_sync()?
self.read_sync().map_err(|e| match &self.sources {
ScanSources::Paths(paths) => {
e.context(format!("reading paths {:?} failed", paths.as_ref()).into())
},
_ => e,
})?
};

if self.file_options.rechunk {
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-plan/src/dsl/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl Default for StrptimeOptions {
pub enum JoinTypeOptionsIR {
#[cfg(feature = "iejoin")]
IEJoin(IEJoinOptions),
#[cfg_attr(feature = "serde", serde(skip))]
#[cfg_attr(all(feature = "serde", not(feature = "ir_serde")), serde(skip))]
// Fused cross join and filter (only in in-memory engine)
Cross { predicate: ExprIR },
}
Expand Down

0 comments on commit 828a1e7

Please sign in to comment.