-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dict null code can be any index instead of just 0 #2208
base: develop
Are you sure you want to change the base?
Conversation
e1c4df3
to
d6fb340
Compare
67e902e
to
fedba15
Compare
Do we only allow a single null value in each dict? |
For now yes, I guess that's what your pr will change? |
|
||
Ok(true) | ||
} | ||
|
||
fn validity_mask(&self, array: &DictArray) -> VortexResult<Mask> { | ||
if array.dtype().is_nullable() { | ||
if let Some(null_code) = array.null_code() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that values can have more than one null value in the values?
Do we either note that in docs or check it? |
Just so we know, this isn't zero-copy from arrow. there's no reason dictionary values need to be unique.... |
Correct, the existing one isn’t either. I was assuming that comes in a future pr |
Well the existing and this thing assume there's only one null code |
indeed, this was meant to unwind #2206 |
No description provided.