Skip to content

fix handling of fill_null precondition cast#6503

Merged
a10y merged 1 commit intodevelopfrom
aduffy/fuzzer
Feb 13, 2026
Merged

fix handling of fill_null precondition cast#6503
a10y merged 1 commit intodevelopfrom
aduffy/fuzzer

Conversation

@a10y
Copy link
Contributor

@a10y a10y commented Feb 13, 2026

Does this PR closes an open issue or discussion?

Closes #6496

What changes are included in this PR?

fill_null scalar fn execution will execute() its precondition result. In this case, the precondition was returning an unexecuted CastArray which breaks the assumption that ScalarFn::execute() always makes forward progress toward Columnar

Signed-off-by: Andrew Duffy <andrew@a10y.dev>
@a10y a10y added the changelog/fix A bug fix label Feb 13, 2026
@a10y a10y enabled auto-merge (squash) February 13, 2026 18:27
@a10y a10y merged commit 0d1a769 into develop Feb 13, 2026
53 of 54 checks passed
@a10y a10y deleted the aduffy/fuzzer branch February 13, 2026 18:30
Comment on lines +160 to +162
// The result of precondition may return another ScalarFn, in which case we should
// apply it immediately.
return result.execute::<ArrayRef>(ctx);
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?

@a10y a10y mentioned this pull request Feb 13, 2026
a10y added a commit that referenced this pull request Feb 13, 2026
Forgot to address
#6503 (comment)

Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fuzzing Crash: VortexError in array_ops

3 participants