-
Notifications
You must be signed in to change notification settings - Fork 3
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
Updated test #5
base: test_sliced
Are you sure you want to change the base?
Updated test #5
Conversation
add apply_validity and set_validity to mutable utf8 array Co-authored-by: artem.malyshev <[email protected]>
data_pagesize_limit: None, | ||
}; | ||
if array_len != 1 { | ||
let array = array.sliced(2, array_len - 2); |
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 was panicking due to array_len < 2.
let array = array.sliced(2, array_len - 2); | ||
let (result, _) = write_and_read(array.clone(), version, compression, encodings)?; | ||
assert_eq!(array.as_ref(), result.as_ref()); | ||
// stats change with slicing - ignore |
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.
ignore stats comparison because stats after slicing change.
|
||
let row_groups = | ||
RowGroupIterator::try_new(iter.into_iter(), &schema, options, vec![encodings.clone()])?; | ||
fn write_and_read( |
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.
refactored to a function for reuse.
14b3ed7
to
87f4e7d
Compare
No description provided.