Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make ScalarValue::Dictionary with NULL values produce NULL arrays (
#11908) Update the way ScalarValue::Dictionary values are turned into arrays such that: scalar_value.is_null() == scalar_value.to_array()?.is_null(0) Previously the dictionary would be created with a valid key entry pointing to a NULL value. https://arrow.apache.org/docs/format/Columnar.html#dictionary-encoded-layout suggests that this does not constitute a NULL entry.
- Loading branch information