-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Deprecate ScalarValue bitor, bitand, and bitxor (#6842) #7351
Deprecate ScalarValue bitor, bitand, and bitxor (#6842) #7351
Conversation
Some(distinct_values), | ||
self.data_type.clone(), | ||
)] | ||
.map(|x| ScalarValue::new_primitive::<T>(Some(*x), &T::DATA_TYPE)) |
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.
This is pretty gross, it occurs to me that ScalarValue not storing ArrayRef is pretty strange
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.
Created #7352
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 this came up in a discussion before (distinct count I think).
/// # Panics | ||
/// | ||
/// Panics if d is not compatible with T | ||
pub fn new_primitive<T: ArrowPrimitiveType>( |
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.
This is the sort of thing that becomes so much simpler with #7353
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.
Which issue does this PR close?
Part of #6842
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?