-
Notifications
You must be signed in to change notification settings - Fork 850
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
Add ByteArray constructors (#3879) #4081
Conversation
4c007c0
to
0d2ce17
Compare
7a9bf3a
to
db5b485
Compare
"Maximum offset of {max_offset} is larger than values of length {}", | ||
values.len() |
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.
"Maximum offset of {max_offset} is larger than values of length {}", | |
values.len() | |
"Maximum offset of {max_offset} is larger than length of values {}", | |
values.len() |
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 the phrasing before is grammatically more correct
T::validate(&offsets, &values)?; | ||
|
||
if let Some(n) = nulls.as_ref() { | ||
if n.len() != len { |
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.
Don't we need to also check the length of values buffer?
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 covered by T::validate
, will add a comment
Which issue does this PR close?
Part of #3879
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?