Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
128123: colexec: fix projections with constant NULL values r=mgartner a=mgartner This commit fixes a bug in the vectorized engine that caused incorrect results when projections operated on constant NULL values. The `proj_const_right_ops` operators do not correctly handle NULL inputs. So, we avoid these code paths when operator does not operate on NULL values and the RHS of an operator is NULL by simply projecting NULLs. Fixes #127814 Release note (bug fix): A bug has been fixed that could cause incorrect evaluation of scalar expressions involving `NULL` values in rare cases. Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information