-
Notifications
You must be signed in to change notification settings - Fork 855
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
Integrate Record Skipping into Column Reader Fuzz Test #2315
Conversation
There are two kinds of erroe
one is parquet/src/arrow/arrow_reader.rs:1260
|
as test |
Awesome! FWIW it might help debugging to seed the random number generator to get a deterministic test. I've found the fuzz tests are very good at finding bugs, but can be quite hard to then debug 😅 |
Thanks ! i have found the combination args cause bug 😂 |
From the error message, I guess the error is related to the read/convert parquet data to arrow, we need the target arrow type and parquet logical type/convertedtype |
@tustvold seems all tests passed. I copy the all test case with page static. 😊 |
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.
Very nice 👍
let mut skip_data: Vec<Option<T::T>> = vec![]; | ||
for select in selections { | ||
if select.skip { | ||
without_skip_data.drain(0..select.row_count); |
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.
Nice 👌
let batch = maybe_batch.unwrap().unwrap(); | ||
assert_eq!(end - total_read, batch.num_rows()); | ||
//TODO remove this after implement https://github.com/apache/arrow-rs/issues/2197 |
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.
The linked issue has been done?
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.
Nope, maybe merge this and use this test to check the result
Benchmark runs are scheduled for baseline = 38764c2 and contender = 5676c6e. 5676c6e is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
Closes #2198.
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?