colexec: make sure nulls are set for datum columns #88418
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
There are some places (for example,
ConcatDatumDatum
) where it is possible to set a datum value totree.DNull
without updating theNulls
bitmap. We rely onNulls
being set for any null value, so this could break things elsewhere. For projection operators that write to a datum-backed vector, we should iterate through the vector and ensure thatNulls
reflects all null values. This fix is on the conservative side, but will only affect datum-backed types and the impact should be small.Jira issue: CRDB-19809
The text was updated successfully, but these errors were encountered: