This PR (merged to 24.10) inadvertently introduced a bug where a template param (has_nulls) is no longer being passed through, and instead we are hardcoding a value. This is yielding illegal access errors since, I believe we claim the column has a validity mask but it doesn't really.
#16603
Problematic lines:
508bdea...f511322#diff-119e81c55e75b3ed49be29077fb6b807718c002608af3373c364bc007dc92b4aR133
508bdea...f511322#diff-0fd89fe429c81ecd37ceb411faae66e527c73cfa4fd98dc3bcbe28bd004adc0fR127