Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion vortex-array/src/expr/exprs/fill_null/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ fn fill_null_canonical(
ctx: &mut ExecutionCtx,
) -> VortexResult<ArrayRef> {
if let Some(result) = precondition(canonical.as_ref(), fill_value)? {
return Ok(result);
// The result of precondition may return another ScalarFn, in which case we should
// apply it immediately.
return result.execute::<ArrayRef>(ctx);
Comment on lines +160 to +162
Copy link
Contributor

@joseph-isaacs joseph-isaacs Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do an optimize first?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also can we add a BIG todo to remove this once we have a better driver check?

}
match canonical {
CanonicalView::Bool(a) => <BoolVTable as FillNullKernel>::fill_null(a, fill_value, ctx)?
Expand Down
Loading