Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colexec: fixed nullableArgs projection operators
Previously, the projection operators for binary or comparison expressions directly copy nulls into the output without performing the actual projection whenever either argument was null. This is incorrect because some function operators can handle null arguments, and we want the actual projection result instead. This PR fixed this by adding the boolean field nullableArgs to the logic. Note that this pr is reviewable but not ready to merge yet. Fixes: cockroachdb#83091 Release note (bug fix): Fixed a bug in projection operators that gave output of nulls when the expression can actually handle null arguments and may result in a non-null output.
- Loading branch information